<?php
/**
* Smarty Internal Plugin Templateparser
*
* This is the template parser.
* It is generated from the internal.templateparser.y file
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TP_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
function __construct($s, $m = array())
{
if ($s instanceof TP_yyToken) {
$this->string = $s->string;
$this->metadata = $s->metadata;
} else {
$this->string = (string) $s;
if ($m instanceof TP_yyToken) {
$this->metadata = $m->metadata;
} elseif (is_array($m)) {
$this->metadata = $m;
}
}
}
function __toString()
{
return $this->_string;
}
function offsetExists($offset)
{
return isset($this->metadata[$offset]);
}
function offsetGet($offset)
{
return $this->metadata[$offset];
}
function offsetSet($offset, $value)
{
if ($offset === null) {
if (isset($value[0])) {
$x = ($value instanceof TP_yyToken) ?
$value->metadata : $value;
$this->metadata = array_merge($this->metadata, $x);
return;
}
$offset = count($this->metadata);
}
if ($value === null) {
return;
}
if ($value instanceof TP_yyToken) {
if ($value->metadata) {
$this->metadata[$offset] = $value->metadata;
}
} elseif ($value) {
$this->metadata[$offset] = $value;
}
}
function offsetUnset($offset)
{
unset($this->metadata[$offset]);
}
}
class TP_yyStackEntry
{
public $stateno; /* The state-number */
public $major; /* The major token value. This is the code
** number for the token at this stack level */
public $minor; /* The user-supplied minor token value. This
** is the value of the token */
};
#line 12 "smarty_internal_templateparser.y"
class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
{
#line 14 "smarty_internal_templateparser.y"
const Err1 = "Security error: Call to private object member not allowed";
const Err2 = "Security error: Call to dynamic object member not allowed";
// states whether the parse was successful or not
public $successful = true;
public $retvalue = 0;
private $lex;
private $internalError = false;
function __construct($lex, $compiler) {
$this->lex = $lex;
$this->compiler = $compiler;
$this->smarty = $this->compiler->smarty;
$this->template = $this->compiler->template;
$this->compiler->has_variable_string = false;
$this->compiler->prefix_code = array();
$this->prefix_number = 0;
$this->block_nesting_level = 0;
if ($this->security = isset($this->smarty->security_policy)) {
$this->php_handling = $this->smarty->security_policy->php_handling;
} else {
$this->php_handling = $this->smarty->php_handling;
}
$this->is_xml = false;
$this->asp_tags = (ini_get('asp_tags') != '0');
$this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this);
}
public static function escape_start_tag($tag_text) {
$tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag
return $tag;
}
public static function escape_end_tag($tag_text) {
return '?<?php ?>>';
}
#line 121 "smarty_internal_templateparser.php"
const TP_VERT = 1;
const TP_COLON = 2;
const TP_COMMENT = 3;
const TP_PHPSTARTTAG = 4;
const TP_PHPENDTAG = 5;
const TP_ASPSTARTTAG = 6;
const TP_ASPENDTAG = 7;
const TP_FAKEPHPSTARTTAG = 8;
const TP_XMLTAG = 9;
const TP_OTHER = 10;
const TP_LINEBREAK = 11;
const TP_LITERALSTART = 12;
const TP_LITERALEND = 13;
const TP_LITERAL = 14;
const TP_LDEL = 15;
const TP_RDEL = 16;
const TP_DOLLAR = 17;
const TP_ID = 18;
const TP_EQUAL = 19;
const TP_PTR = 20;
const TP_LDELIF = 21;
const TP_LDELFOR = 22;
const TP_SEMICOLON = 23;
const TP_INCDEC = 24;
const TP_TO = 25;
const TP_STEP = 26;
const TP_LDELFOREACH = 27;
const TP_SPACE = 28;
const TP_AS = 29;
const TP_APTR = 30;
const TP_SMARTYBLOCKCHILD = 31;
const TP_LDELSLASH = 32;
const TP_INTEGER = 33;
const TP_COMMA = 34;
const TP_OPENP = 35;
const TP_CLOSEP = 36;
const TP_MATH = 37;
const TP_UNIMATH = 38;
const TP_ANDSYM = 39;
const TP_ISIN = 40;
const TP_ISDIVBY = 41;
const TP_ISNOTDIVBY = 42;
const TP_ISEVEN = 43;
const TP_ISNOTEVEN = 44;
const TP_ISEVENBY = 45;
const TP_ISNOTEVENBY = 46;
const TP_ISODD = 47;
const TP_ISNOTODD = 48;
const TP_ISODDBY = 49;
const TP_ISNOTODDBY = 50;
const TP_INSTANCEOF = 51;
const TP_QMARK = 52;
const TP_NOT = 53;
const TP_TYPECAST = 54;
const TP_HEX = 55;
const TP_DOT = 56;
const TP_SINGLEQUOTESTRING = 57;
const TP_DOUBLECOLON = 58;
const TP_AT = 59;
const TP_HATCH = 60;
const TP_OPENB = 61;
const TP_CLOSEB = 62;
const TP_EQUALS = 63;
const TP_NOTEQUALS = 64;
const TP_GREATERTHAN = 65;
const TP_LESSTHAN = 66;
const TP_GREATEREQUAL = 67;
const TP_LESSEQUAL = 68;
const TP_IDENTITY = 69;
const TP_NONEIDENTITY = 70;
const TP_MOD = 71;
const TP_LAND = 72;
const TP_LOR = 73;
const TP_LXOR = 74;
const TP_QUOTE = 75;
const TP_BACKTICK = 76;
const TP_DOLLARID = 77;
const YY_NO_ACTION = 590;
const YY_ACCEPT_ACTION = 589;
const YY_ERROR_ACTION = 588;
const YY_SZ_ACTTAB = 2637;
static public $yy_action = array(
/* 0 */ 223, 300, 294, 293, 288, 287, 286, 290, 291, 301,
/* 10 */ 197, 13, 211, 40, 283, 373, 284, 8, 13, 7,
/* 20 */ 107, 283, 41, 203, 16, 147, 234, 16, 16, 276,
/* 30 */ 245, 589, 97, 296, 297, 299, 50, 46, 48,
没有合适的资源?快使用搜索试试~ 我知道了~
CodeIgniter +Smarty集成
共288个文件
php:246个
html:31个
ttf:6个
4星 · 超过85%的资源 需积分: 3 20 下载量 35 浏览量
2011-09-08
16:19:28
上传
评论
收藏 780KB RAR 举报
温馨提示
CodeIgniter + Smarty集成 集成验证码 Code Igniter是一个很不错的PHP框架,Smarty是一个非常好的显示层框架,将这两个框架集成安装到一起.
资源推荐
资源详情
资源评论
收起资源包目录
CodeIgniter +Smarty集成 (288个子文件)
.htaccess 134B
.htaccess 13B
.htaccess 13B
.htaccess 13B
index.html 582B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
index.html 114B
smarty_internal_templateparser.php 165KB
Email.php 46KB
DB_active_rec.php 42KB
smarty_internal_template.php 42KB
Image_lib.php 36KB
smarty_internal_templatelexer.php 35KB
Xmlrpc.php 33KB
smarty_internal_configfileparser.php 32KB
DB_driver.php 32KB
Loader.php 29KB
Form_validation.php 28KB
Smarty.class.php 27KB
Jquery.php 24KB
Upload.php 23KB
smarty_internal_templatecompilerbase.php 22KB
Security.php 21KB
form_helper.php 21KB
Javascript.php 20KB
Profiler.php 19KB
Session.php 19KB
smarty_internal_configfilelexer.php 17KB
mysql_driver.php 17KB
oci8_driver.php 17KB
mysqli_driver.php 16KB
smarty_internal_data.php 15KB
Xmlrpcs.php 15KB
Input.php 15KB
postgre_driver.php 15KB
Cart.php 15KB
mssql_driver.php 14KB
sqlite_driver.php 14KB
URI.php 14KB
odbc_driver.php 14KB
sqlsrv_driver.php 13KB
config.php 13KB
text_helper.php 13KB
Common.php 13KB
date_helper.php 13KB
Typography.php 12KB
Calendar.php 12KB
Ftp.php 12KB
url_helper.php 12KB
Output.php 12KB
smarty_internal_utility.php 12KB
Trackback.php 12KB
Router.php 11KB
Encrypt.php 11KB
function.html_select_date.php 11KB
file_helper.php 11KB
Table.php 11KB
CodeIgniter.php 11KB
smarty_internal_config.php 10KB
User_agent.php 10KB
Zip.php 10KB
DB_utility.php 10KB
smarty_internal_compile_include.php 9KB
smarty_internal_compile_foreach.php 9KB
DB_result.php 9KB
html_helper.php 9KB
function.fetch.php 8KB
smarty_internal_compile_block.php 8KB
smarty_internal_compile_if.php 8KB
Unit_test.php 8KB
smarty_internal_cacheresource_file.php 8KB
Pagination.php 8KB
共 288 条
- 1
- 2
- 3
资源评论
- yinchuandong12012-08-28不怎么会用啊
- hpcooltc2013-01-11多谢,下了好几个唯一能用的
cuiqiqing
- 粉丝: 1
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功