\

Namespaces

Admin
Behavior
Boris
Home
Model
Org
Think
Tool

Interfaces

HproseFilter

Classes

_PHPRPC_Client
_smarty_code Code fragment inside a tag.
_smarty_doublequoted Double quoted string inside a tag.
_smarty_dq_content Raw chars as part of a double quoted string.
_smarty_linebreak template linebreaks
_smarty_parsetree
_smarty_tag A complete smarty tag.
_smarty_template_buffer Template element
_smarty_text template text
config
DHParams
DumpTest
ETCore
HproseAbstractStream
HproseBaseHttpClient
HproseClassManager
HproseClient
HproseDate
HproseDateTime
HproseException
HproseFileStream
HproseFormatter
HproseHttpClient
HproseHttpServer
HproseProcStream
HproseProxy
HproseRawReader
HproseReader
HproseResultMode
HproseSimpleReader
HproseSimpleWriter
HproseStringStream
HproseTags
HproseTime
HproseWriter
IndentTest
jsonRPCClient The object of this class are generic jsonRPC 1.0 clients http://json-rpc.org/wiki/specification
jsonRPCServer This class build a json-RPC Server 1.0 http://json-rpc.org/wiki/specification
ParseTest
PHPRPC_Client
PHPRPC_Date
PHPRPC_Error
PHPRPC_Server
RoundTripTest
Services_JSON Converts to and from JSON format.
Services_JSON Converts to and from JSON format.
Services_JSON_Error
Services_JSON_Error
SmartTemplate SmartTemplate Class
SmartTemplateDebugger SmartTemplateDebugger Class Used by SmartTemplate Class
SmartTemplateParser SmartTemplateParser Class Used by SmartTemplate Class
Smarty This is the main Smarty class
Smarty_CacheResource Cache Handler API
Smarty_CacheResource_Custom Cache Handler API
Smarty_CacheResource_KeyValueStore Smarty Cache Handler Base for Key/Value Storage Implementations
Smarty_Config_Source Smarty Resource Data Object
Smarty_Data class for the Smarty data object
Smarty_Internal_CacheResource_File This class does contain all necessary methods for the HTML cache on file system
Smarty_Internal_Compile_Append Smarty Internal Plugin Compile Append Class
Smarty_Internal_Compile_Assign Smarty Internal Plugin Compile Assign Class
Smarty_Internal_Compile_Block Smarty Internal Plugin Compile Block Class
Smarty_Internal_Compile_Blockclose Smarty Internal Plugin Compile BlockClose Class
Smarty_Internal_Compile_Break Smarty Internal Plugin Compile Break Class
Smarty_Internal_Compile_Call Smarty Internal Plugin Compile Function_Call Class
Smarty_Internal_Compile_Capture Smarty Internal Plugin Compile Capture Class
Smarty_Internal_Compile_CaptureClose Smarty Internal Plugin Compile Captureclose Class
Smarty_Internal_Compile_Config_Load Smarty Internal Plugin Compile Config Load Class
Smarty_Internal_Compile_Continue Smarty Internal Plugin Compile Continue Class
Smarty_Internal_Compile_Debug Smarty Internal Plugin Compile Debug Class
Smarty_Internal_Compile_Else Smarty Internal Plugin Compile Else Class
Smarty_Internal_Compile_Elseif Smarty Internal Plugin Compile ElseIf Class
Smarty_Internal_Compile_Eval Smarty Internal Plugin Compile Eval Class
Smarty_Internal_Compile_Extends Smarty Internal Plugin Compile extend Class
Smarty_Internal_Compile_For Smarty Internal Plugin Compile For Class
Smarty_Internal_Compile_Forclose Smarty Internal Plugin Compile Forclose Class
Smarty_Internal_Compile_Foreach Smarty Internal Plugin Compile Foreach Class
Smarty_Internal_Compile_Foreachclose Smarty Internal Plugin Compile Foreachclose Class
Smarty_Internal_Compile_Foreachelse Smarty Internal Plugin Compile Foreachelse Class
Smarty_Internal_Compile_Forelse Smarty Internal Plugin Compile Forelse Class
Smarty_Internal_Compile_Function Smarty Internal Plugin Compile Function Class
Smarty_Internal_Compile_Functionclose Smarty Internal Plugin Compile Functionclose Class
Smarty_Internal_Compile_If Smarty Internal Plugin Compile If Class
Smarty_Internal_Compile_Ifclose Smarty Internal Plugin Compile Ifclose Class
Smarty_Internal_Compile_Include Smarty Internal Plugin Compile Include Class
Smarty_Internal_Compile_Include_Php Smarty Internal Plugin Compile Insert Class
Smarty_Internal_Compile_Insert Smarty Internal Plugin Compile Insert Class
Smarty_Internal_Compile_Ldelim Smarty Internal Plugin Compile Ldelim Class
Smarty_Internal_Compile_Nocache Smarty Internal Plugin Compile Nocache Classv
Smarty_Internal_Compile_Nocacheclose Smarty Internal Plugin Compile Nocacheclose Class
Smarty_Internal_Compile_Private_Block_Plugin Smarty Internal Plugin Compile Block Plugin Class
Smarty_Internal_Compile_Private_Function_Plugin Smarty Internal Plugin Compile Function Plugin Class
Smarty_Internal_Compile_Private_Modifier Smarty Internal Plugin Compile Modifier Class
Smarty_Internal_Compile_Private_Object_Block_Function Smarty Internal Plugin Compile Object Block Function Class
Smarty_Internal_Compile_Private_Object_Function Smarty Internal Plugin Compile Object Function Class
Smarty_Internal_Compile_Private_Print_Expression Smarty Internal Plugin Compile Print Expression Class
Smarty_Internal_Compile_Private_Registered_Block Smarty Internal Plugin Compile Registered Block Class
Smarty_Internal_Compile_Private_Registered_Function Smarty Internal Plugin Compile Registered Function Class
Smarty_Internal_Compile_Private_Special_Variable Smarty Internal Plugin Compile special Smarty Variable Class
Smarty_Internal_Compile_Rdelim Smarty Internal Plugin Compile Rdelim Class
Smarty_Internal_Compile_Section Smarty Internal Plugin Compile Section Class
Smarty_Internal_Compile_Sectionclose Smarty Internal Plugin Compile Sectionclose Class
Smarty_Internal_Compile_Sectionelse Smarty Internal Plugin Compile Sectionelse Class
Smarty_Internal_Compile_Setfilter Smarty Internal Plugin Compile Setfilter Class
Smarty_Internal_Compile_Setfilterclose Smarty Internal Plugin Compile Setfilterclose Class
Smarty_Internal_Compile_While Smarty Internal Plugin Compile While Class
Smarty_Internal_Compile_Whileclose Smarty Internal Plugin Compile Whileclose Class
Smarty_Internal_CompileBase This class does extend all internal compile plugins
Smarty_Internal_Config Smarty Internal Plugin Config
Smarty_Internal_Config_File_Compiler Main config file compiler class
Smarty_Internal_Configfilelexer Smarty Internal Plugin Configfilelexer
Smarty_Internal_Configfileparser
Smarty_Internal_Data Base class with template and variable methodes
Smarty_Internal_Debug Smarty Internal Plugin Debug Class
Smarty_Internal_Filter_Handler Class for filter processing
Smarty_Internal_Function_Call_Handler This class does call function defined with the {function} tag
Smarty_Internal_Get_Include_Path Smarty Internal Read Include Path Class
Smarty_Internal_Nocache_Insert Smarty Internal Plugin Compile Insert Class
Smarty_Internal_Resource_Eval Smarty Internal Plugin Resource Eval
Smarty_Internal_Resource_Extends Smarty Internal Plugin Resource Extends
Smarty_Internal_Resource_File Smarty Internal Plugin Resource File
Smarty_Internal_Resource_PHP Smarty Internal Plugin Resource PHP
Smarty_Internal_Resource_Registered Smarty Internal Plugin Resource Registered
Smarty_Internal_Resource_Stream Smarty Internal Plugin Resource Stream
Smarty_Internal_Resource_String Smarty Internal Plugin Resource String
Smarty_Internal_SmartyTemplateCompiler Class SmartyTemplateCompiler
Smarty_Internal_Template Main class with template data structures and methods
Smarty_Internal_TemplateBase Class with shared template methodes
Smarty_Internal_TemplateCompilerBase Main abstract compiler class
Smarty_Internal_Templatelexer Smarty Internal Plugin Templatelexer
Smarty_Internal_Templateparser
Smarty_Internal_Utility Utility class
Smarty_Internal_Write_File Smarty Internal Write File Class
Smarty_Resource Smarty Resource Plugin
Smarty_Resource_Custom Smarty Resource Plugin
Smarty_Resource_Recompiled Smarty Resource Plugin
Smarty_Resource_Uncompiled Smarty Resource Plugin
Smarty_Security This class does contain the security settings
Smarty_Template_Cached Smarty Resource Data Object
Smarty_Template_Compiled Smarty Resource Data Object
Smarty_Template_Source Smarty Resource Data Object
Smarty_Variable class for the Smarty variable object
SmartyBC Smarty Backward Compatability Wrapper Class
SmartyCompilerException Smarty compiler exception class
SmartyException Smarty exception class
Spyc The Simple PHP YAML Class.
template
Template_Lite
Template_Lite_Compiler
TP_yyStackEntry
TP_yyToken Smarty Internal Plugin Templateparser
TPC_yyStackEntry
TPC_yyToken Smarty Internal Plugin Configfileparser
Undefined_Smarty_Variable class for undefined variable object

Constants

__ACTION__

__ACTION__ = __CONTROLLER__ . $depr . (defined('ACTION_ALIAS') ? ACTION_ALIAS : ACTION_NAME)

__APP__

__APP__ = strip_tags(PHP_FILE)

__CONTROLLER__

__CONTROLLER__ = __MODULE__ . $depr . (defined('BIND_CONTROLLER') ? '' : ($urlCase ? parse_name($controllerName) : $controllerName))

__EXT__

__EXT__ = strtolower(pathinfo($_SERVER['PATH_INFO'], PATHINFO_EXTENSION))

__EXT__

__EXT__ = strtolower(pathinfo($_SERVER['PATH_INFO'], PATHINFO_EXTENSION))

__INFO__

__INFO__ = trim($_SERVER['PATH_INFO'], '/')

__INFO__

__INFO__ = trim($_SERVER['PATH_INFO'], '/')

__MODULE__

__MODULE__ = defined('BIND_MODULE') || !C('MULTI_MODULE') ? __APP__ : __APP__ . '/' . ($urlCase ? strtolower($moduleName) : $moduleName)

__ROOT__

__ROOT__ = $_root == '/' || $_root == '\\' ? '' : $_root

__SELF__

__SELF__ = strip_tags($_SERVER[C('URL_REQUEST_URI')])

_PHP_FILE_

_PHP_FILE_ = rtrim($_SERVER['SCRIPT_NAME'], '/')

ACTION_ALIAS

ACTION_ALIAS = strtolower($action)

ACTION_NAME

ACTION_NAME = defined('BIND_ACTION') ? BIND_ACTION : self::getAction($varAction, $urlCase)

ACTION_NAME

ACTION_NAME = defined('BIND_ACTION') ? BIND_ACTION : self::getAction($varAction, $urlCase)

ADDON_PATH

ADDON_PATH = APP_PATH . 'Addon'

Admin_URL

Admin_URL = "/Test/Admin/Public/"

APP_DEBUG

APP_DEBUG = false

APP_DEBUG

APP_DEBUG = true

APP_DOMAIN

APP_DOMAIN = $_SERVER['HTTP_HOST']

APP_DOMAIN

APP_DOMAIN = $_SERVER['HTTP_HOST']

APP_MODE

APP_MODE = 'common'

APP_PATH

APP_PATH = dirname($_SERVER['SCRIPT_FILENAME']) . '/'

APP_STATUS

APP_STATUS = ''

BCS_AK

BCS_AK = ''

BCS_API_PATH

BCS_API_PATH = dirname(__FILE__)

BCS_SK

BCS_SK = ''

BCS_SUPERFILE_POSTFIX

BCS_SUPERFILE_POSTFIX = '_bcs_superfile_'

BCS_SUPERFILE_SLICE_SIZE

BCS_SUPERFILE_SLICE_SIZE = 1024 * 1024

BEHAVIOR_PATH

BEHAVIOR_PATH = LIB_PATH . 'Behavior/'

BIND_CONTROLLER

BIND_CONTROLLER = $controller

BIND_CONTROLLER

BIND_CONTROLLER = $controller

BIND_MODULE

BIND_MODULE = array_shift($array)

BIND_MODULE

BIND_MODULE = array_shift($array)

BUILD_DIR_SECURE

BUILD_DIR_SECURE = true

CACHE_PATH

CACHE_PATH = RUNTIME_PATH . 'Cache/'

COMMON_PATH

COMMON_PATH = APP_PATH . 'Common/'

CONF_EXT

CONF_EXT = '.php'

CONF_PARSE

CONF_PARSE = ''

CONF_PATH

CONF_PATH = COMMON_PATH . 'Conf/'

CONTROLLER_ALIAS

CONTROLLER_ALIAS = strtolower($controller)

CONTROLLER_NAME

CONTROLLER_NAME = defined('BIND_CONTROLLER') ? BIND_CONTROLLER : self::getController($varController, $urlCase)

CONTROLLER_NAME

CONTROLLER_NAME = defined('BIND_CONTROLLER') ? BIND_CONTROLLER : self::getController($varController, $urlCase)

CONTROLLER_PATH

CONTROLLER_PATH = self::getSpace($varAddon, $urlCase)

CORE_PATH

CORE_PATH = LIB_PATH . 'Think/'

DATA_PATH

DATA_PATH = RUNTIME_PATH . 'Data/'

DIR_SECURE_CONTENT

DIR_SECURE_CONTENT = ' '

DIR_SECURE_FILENAME

DIR_SECURE_FILENAME = 'index.html'

DS

DS = DIRECTORY_SEPARATOR

E_DEPRECATED

E_DEPRECATED = 8192

E_RECOVERABLE_ERROR

E_RECOVERABLE_ERROR = 4096

E_STRICT

E_STRICT = 2048

E_USER_DEPRECATED

E_USER_DEPRECATED = 16384

ET3!

ET3! = TRUE

EXT

EXT = '.class.php'

Home_URL

Home_URL = "/Test/Home/Public/"

HTML_FILE_NAME

HTML_FILE_NAME = HTML_PATH . $rule . C('HTML_FILE_SUFFIX', null, '.html')

HTML_PATH

HTML_PATH = APP_PATH . 'Html/'

IS_AJAX

IS_AJAX = isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest' || !empty($_POST[C('VAR_AJAX_SUBMIT')]) || !empty($_GET[C('VAR_AJAX_SUBMIT')]) ? true : false

IS_AJAX

IS_AJAX = isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest' || !empty($_POST[C('VAR_AJAX_SUBMIT')]) || !empty($_GET[C('VAR_AJAX_SUBMIT')]) ? true : false

IS_CGI

IS_CGI = 0 === strpos(PHP_SAPI, 'cgi') || false !== strpos(PHP_SAPI, 'fcgi') ? 1 : 0

IS_CLI

IS_CLI = PHP_SAPI == 'cli' ? 1 : 0

IS_DELETE

IS_DELETE = REQUEST_METHOD == 'DELETE' ? true : false

IS_DELETE

IS_DELETE = REQUEST_METHOD == 'DELETE' ? true : false

IS_GET

IS_GET = REQUEST_METHOD == 'GET' ? true : false

IS_GET

IS_GET = REQUEST_METHOD == 'GET' ? true : false

IS_POST

IS_POST = REQUEST_METHOD == 'POST' ? true : false

IS_POST

IS_POST = REQUEST_METHOD == 'POST' ? true : false

IS_PUT

IS_PUT = REQUEST_METHOD == 'PUT' ? true : false

IS_PUT

IS_PUT = REQUEST_METHOD == 'PUT' ? true : false

IS_WIN

IS_WIN = strstr(PHP_OS, 'WIN') ? 1 : 0

LANG_PATH

LANG_PATH = COMMON_PATH . 'Lang/'

LANG_SET

LANG_SET = strtolower($langSet)

LIB_PATH

LIB_PATH = realpath(THINK_PATH . 'Library') . '/'

LOG_PATH

LOG_PATH = RUNTIME_PATH . 'Logs/'

MAGIC_QUOTES_GPC

MAGIC_QUOTES_GPC = false

MEMORY_LIMIT_ON

MEMORY_LIMIT_ON = function_exists('memory_get_usage')

MODE_PATH

MODE_PATH = THINK_PATH . 'Mode/'

MODULE_ALIAS

MODULE_ALIAS = strtolower($module)

MODULE_ALIAS

MODULE_ALIAS = strtolower($module)

MODULE_NAME

MODULE_NAME = defined('BIND_MODULE') ? BIND_MODULE : self::getModule($varModule)

MODULE_NAME

MODULE_NAME = defined('BIND_MODULE') ? BIND_MODULE : self::getModule($varModule)

MODULE_PATH

MODULE_PATH = APP_PATH . MODULE_NAME . '/'

MODULE_PATH

MODULE_PATH = APP_PATH . MODULE_NAME . '/'

MODULE_PATHINFO_DEPR

MODULE_PATHINFO_DEPR = $depr

MODULE_PATHINFO_DEPR

MODULE_PATHINFO_DEPR = $depr

NOW_TIME

NOW_TIME = $_SERVER['REQUEST_TIME']

NOW_TIME

NOW_TIME = $_SERVER['REQUEST_TIME']

PHP_FILE

PHP_FILE = _PHP_FILE_

REQUEST_METHOD

REQUEST_METHOD = $_SERVER['REQUEST_METHOD']

REQUEST_METHOD

REQUEST_METHOD = $_SERVER['REQUEST_METHOD']

RUNTIME_PATH

RUNTIME_PATH = APP_PATH . 'Runtime/'

SERVICES_JSON_IN_ARR

SERVICES_JSON_IN_ARR = 3

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_ARR

SERVICES_JSON_IN_ARR = 3

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_CMT

SERVICES_JSON_IN_CMT = 5

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_CMT

SERVICES_JSON_IN_CMT = 5

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_OBJ

SERVICES_JSON_IN_OBJ = 4

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_OBJ

SERVICES_JSON_IN_OBJ = 4

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_STR

SERVICES_JSON_IN_STR = 2

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_IN_STR

SERVICES_JSON_IN_STR = 2

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_LOOSE_TYPE

SERVICES_JSON_LOOSE_TYPE = 16

Behavior switch for Services_JSON::decode()

SERVICES_JSON_LOOSE_TYPE

SERVICES_JSON_LOOSE_TYPE = 16

Behavior switch for Services_JSON::decode()

SERVICES_JSON_SLICE

SERVICES_JSON_SLICE = 1

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_SLICE

SERVICES_JSON_SLICE = 1

Marker constant for Services_JSON::decode(), used to flag stack state

SERVICES_JSON_SUPPRESS_ERRORS

SERVICES_JSON_SUPPRESS_ERRORS = 32

Behavior switch for Services_JSON::decode()

SERVICES_JSON_SUPPRESS_ERRORS

SERVICES_JSON_SUPPRESS_ERRORS = 32

Behavior switch for Services_JSON::decode()

SMARTY_DIR

SMARTY_DIR = dirname(__FILE__) . DS

SMARTY_MBSTRING

SMARTY_MBSTRING = function_exists('mb_strlen')

SMARTY_PLUGINS_DIR

SMARTY_PLUGINS_DIR = SMARTY_DIR . 'plugins' . DS

SMARTY_RESOURCE_CHAR_SET

SMARTY_RESOURCE_CHAR_SET = SMARTY_MBSTRING ? 'UTF-8' : 'ISO-8859-1'

SMARTY_RESOURCE_DATE_FORMAT

SMARTY_RESOURCE_DATE_FORMAT = '%b %e, %Y'

SMARTY_SPL_AUTOLOAD

SMARTY_SPL_AUTOLOAD = 0

SMARTY_SYSPLUGINS_DIR

SMARTY_SYSPLUGINS_DIR = SMARTY_DIR . 'sysplugins' . DS

STORAGE_TYPE

STORAGE_TYPE = 'File'

SUB_DOMAIN

SUB_DOMAIN = $subDomain

SUB_DOMAIN

SUB_DOMAIN = $subDomain

TEMP_PATH

TEMP_PATH = RUNTIME_PATH . 'Temp/'

TEMPLATE_LITE_DIR

TEMPLATE_LITE_DIR = dirname(__FILE__) . DIRECTORY_SEPARATOR

THEME_NAME

THEME_NAME = $theme

THEME_PATH

THEME_PATH = $this->getThemePath($module)

THINK_PATH

THINK_PATH = __DIR__ . '/'

THINK_VERSION

THINK_VERSION = '3.2.3'

TITLE

TITLE = "《C语言程序设计》在线考试系统"

URL_COMMON

URL_COMMON = 0

URL_COMPAT

URL_COMPAT = 3

URL_PATHINFO

URL_PATHINFO = 1

URL_REWRITE

URL_REWRITE = 2

VENDOR_PATH

VENDOR_PATH = LIB_PATH . 'Vendor/'

Functions

A()

A(string  $name, string  $layer = '', integer  $level = '') : \Controller|false

A函数用于实例化控制器 格式:[资源://][模块/]控制器

Parameters

string $name

资源地址

string $layer

控制层名称

integer $level

控制器层次

Returns

\Controller|false

A()

A(string  $name, string  $layer = '', integer  $level) : \Think\Controller|false

实例化多层控制器 格式:[资源://][模块/]控制器

Parameters

string $name

资源地址

string $layer

控制层名称

integer $level

控制器层次

Returns

\Think\Controller|false

alert()

alert(  $msg) 

Parameters

$msg

alert()

alert(  $msg) 

Parameters

$msg

array_map_recursive()

array_map_recursive(  $filter,   $data) 

Parameters

$filter
$data

array_map_recursive()

array_map_recursive(  $filter,   $data) 

Parameters

$filter
$data

array_ref_search()

array_ref_search(  $value,   $array) 

Parameters

$value
$array

B()

B(string  $name, string  $tag = '', Mixed  $params = NULL) : void

执行某个行为

Parameters

string $name

行为名称

string $tag

标签名称(行为类无需传入)

Mixed $params

传入的参数

B()

B(string  $name, Mixed  $params = NULL) : void

执行某个行为

Parameters

string $name

行为名称

Mixed $params

传入的参数

bcpowmod()

bcpowmod(  $x,   $y,   $modulus,   $scale) 

Parameters

$x
$y
$modulus
$scale

bigint_dec2num()

bigint_dec2num(  $dec) 

Parameters

$dec

bigint_div()

bigint_div(  $a,   $b,   $is_mod) 

Parameters

$a
$b
$is_mod

bigint_mul()

bigint_mul(  $a,   $b) 

Parameters

$a
$b

bigint_num2dec()

bigint_num2dec(  $num) 

Parameters

$num

bigint_num2str()

bigint_num2str(  $num) 

Parameters

$num

bigint_pow()

bigint_pow(  $b,   $e) 

Parameters

$b
$e

bigint_powmod()

bigint_powmod(  $x,   $y,   $m) 

Parameters

$x
$y
$m

bigint_random()

bigint_random(  $n,   $s) 

Parameters

$n
$s

bigint_str2num()

bigint_str2num(  $str) 

Parameters

$str

bigint_zerofill()

bigint_zerofill(  $str,   $num) 

Parameters

$str
$num

C()

C(string|array  $name = null, mixed  $value = null, mixed  $default = null) : mixed

获取和设置配置参数 支持批量定义

Parameters

string|array $name

配置变量

mixed $value

配置值

mixed $default

默认值

Returns

mixed

C()

C(string|array  $name = null, mixed  $value = null, mixed  $default = null) : mixed

获取和设置配置参数 支持批量定义

Parameters

string|array $name

配置变量

mixed $value

配置值

mixed $default

默认值

Returns

mixed

cmp_func()

cmp_func(  $a,   $b) 

Parameters

$a
$b

cmp_func()

cmp_func(  $a,   $b) 

Parameters

$a
$b

compile()

compile(string  $filename) : string

编译文件

Parameters

string $filename

文件名

Returns

string

compile()

compile(string  $filename) : string

编译文件

Parameters

string $filename

文件名

Returns

string

compile_compile_config()

compile_compile_config(  $variable,   $object) 

Template Lite compile config variables - template internal module

Type: template Name: compile_config

Parameters

$variable
$object

compile_compile_custom_block()

compile_compile_custom_block(  $function,   $modifiers,   $arguments,   $_result,   $object) 

Template Lite compile custom block - template internal module

Type: template Name: compile_custom_block

Parameters

$function
$modifiers
$arguments
$_result
$object

compile_compile_custom_function()

compile_compile_custom_function(  $function,   $modifiers,   $arguments,   $_result,   $object) 

Template Lite compile custom function - template internal module

Type: template Name: compile_custom_function

Parameters

$function
$modifiers
$arguments
$_result
$object

compile_compile_if()

compile_compile_if(  $arguments,   $elseif,   $while,   $object) 

Template Lite compile IF tag - template internal module

Type: template Name: compile_parse_is_expr

Parameters

$arguments
$elseif
$while
$object

compile_include()

compile_include(  $arguments,   $object) 

Template Lite

Type: compile Name: section_start

Parameters

$arguments
$object

compile_parse_is_expr()

compile_parse_is_expr(  $is_arg,   $_args,   $object) 

Template Lite compile IS exprenssion in IF tag - template internal module

Type: template Name: compile_parse_is_expr

Parameters

$is_arg
$_args
$object

compile_section_start()

compile_section_start(  $arguments,   $object) 

Template Lite section_start compile plugin converted from Smarty

Type: compile Name: section_start

Parameters

$arguments
$object

content_58ec3f748873f()

content_58ec3f748873f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58ec96501465d()

content_58ec96501465d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58edc94f51952()

content_58edc94f51952(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58eddcc218257()

content_58eddcc218257(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58edf86d954cc()

content_58edf86d954cc(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58ef29c34bc4f()

content_58ef29c34bc4f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58ef332e90289()

content_58ef332e90289(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f0899849e21()

content_58f0899849e21(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f1ff68db7e9()

content_58f1ff68db7e9(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f21e5a10045()

content_58f21e5a10045(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f22eda91467()

content_58f22eda91467(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4436d012de()

content_58f4436d012de(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f44d101bc3f()

content_58f44d101bc3f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f44d101d2d7()

content_58f44d101d2d7(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f44d101e7f6()

content_58f44d101e7f6(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f44d101fdb1()

content_58f44d101fdb1(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4576992a7b()

content_58f4576992a7b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4576993f9a()

content_58f4576993f9a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f457cad06a2()

content_58f457cad06a2(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f457cad1f1e()

content_58f457cad1f1e(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4c9ed0()

content_58f459f4c9ed0(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4cb935()

content_58f459f4cb935(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4d28d6()

content_58f459f4d28d6(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4d3d7d()

content_58f459f4d3d7d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4d5409()

content_58f459f4d5409(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4d6726()

content_58f459f4d6726(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4d8182()

content_58f459f4d8182(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4d9536()

content_58f459f4d9536(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4db40b()

content_58f459f4db40b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4dce67()

content_58f459f4dce67(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4de899()

content_58f459f4de899(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4dfff8()

content_58f459f4dfff8(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4e17f9()

content_58f459f4e17f9(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4e2d3f()

content_58f459f4e2d3f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4e45da()

content_58f459f4e45da(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f459f4e5949()

content_58f459f4e5949(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f45a7603c16()

content_58f45a7603c16(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f45a76054d4()

content_58f45a76054d4(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc9010c()

content_58f4afcc9010c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc915f7()

content_58f4afcc915f7(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc92c32()

content_58f4afcc92c32(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc94198()

content_58f4afcc94198(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc958bc()

content_58f4afcc958bc(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc96de2()

content_58f4afcc96de2(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc98261()

content_58f4afcc98261(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc99687()

content_58f4afcc99687(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4afcc9a9a6()

content_58f4afcc9a9a6(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4b2c9b2f4c()

content_58f4b2c9b2f4c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4b2c9b48b8()

content_58f4b2c9b48b8(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4b46dae65a()

content_58f4b46dae65a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4b46db00fd()

content_58f4b46db00fd(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f4b836b9883()

content_58f4b836b9883(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f56284a6297()

content_58f56284a6297(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f56284a79f3()

content_58f56284a79f3(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f5632591450()

content_58f5632591450(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f5632592a3c()

content_58f5632592a3c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f56c8cb9d1f()

content_58f56c8cb9d1f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f56c8cbb1ac()

content_58f56c8cbb1ac(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f56edad9847()

content_58f56edad9847(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f56edadb43b()

content_58f56edadb43b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f573baf1dba()

content_58f573baf1dba(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f57a5983d7d()

content_58f57a5983d7d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f57a59853c4()

content_58f57a59853c4(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f57ad421503()

content_58f57ad421503(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f57ad4228c4()

content_58f57ad4228c4(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f57b1de0cc0()

content_58f57b1de0cc0(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f57b1de23a5()

content_58f57b1de23a5(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f57b6da2485()

content_58f57b6da2485(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f57b6da3930()

content_58f57b6da3930(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f581fc904a1()

content_58f581fc904a1(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f581fc91a5c()

content_58f581fc91a5c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f59076bf7f2()

content_58f59076bf7f2(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f59076c0e9e()

content_58f59076c0e9e(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f59076c22f3()

content_58f59076c22f3(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f59076c37f9()

content_58f59076c37f9(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f5920842b3b()

content_58f5920842b3b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f59208440c1()

content_58f59208440c1(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f5977960dac()

content_58f5977960dac(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f597796249f()

content_58f597796249f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f5ccce8110f()

content_58f5ccce8110f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f6d4216bfbc()

content_58f6d4216bfbc(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f6e584e2ef8()

content_58f6e584e2ef8(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f6e93568cb1()

content_58f6e93568cb1(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f6ea9953dc0()

content_58f6ea9953dc0(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f7174d2e84b()

content_58f7174d2e84b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f717aff2009()

content_58f717aff2009(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f7196d9165f()

content_58f7196d9165f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f83fd5d4d04()

content_58f83fd5d4d04(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f84ebfefdf4()

content_58f84ebfefdf4(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f850a4b9d6c()

content_58f850a4b9d6c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58f856d691f53()

content_58f856d691f53(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58fdff5038045()

content_58fdff5038045(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58fea7a320048()

content_58fea7a320048(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58fea7a32168f()

content_58fea7a32168f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58fec1e5e1c49()

content_58fec1e5e1c49(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58fec28f54958()

content_58fec28f54958(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58fec28f56045()

content_58fec28f56045(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58ff182cebcce()

content_58ff182cebcce(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_58fff01b30c6d()

content_58fff01b30c6d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_590018d227f14()

content_590018d227f14(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59005769b715d()

content_59005769b715d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59099d45163f7()

content_59099d45163f7(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_590adc587695e()

content_590adc587695e(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_590b43217c48f()

content_590b43217c48f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_590c0f207107a()

content_590c0f207107a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_590c1294072e7()

content_590c1294072e7(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_590c1294090eb()

content_590c1294090eb(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_590c3516c3dca()

content_590c3516c3dca(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_590c6f1008b3b()

content_590c6f1008b3b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911824a2a876()

content_5911824a2a876(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911824a2c1b7()

content_5911824a2c1b7(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591185f0d086b()

content_591185f0d086b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591185f0d2474()

content_591185f0d2474(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59118a84940bf()

content_59118a84940bf(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59118a8495b9c()

content_59118a8495b9c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59118acabcb6a()

content_59118acabcb6a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59118acabe724()

content_59118acabe724(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59118d8f39e64()

content_59118d8f39e64(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59118d8f3b75f()

content_59118d8f3b75f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911930fb91ee()

content_5911930fb91ee(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911930fbae85()

content_5911930fbae85(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911936360960()

content_5911936360960(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591193636215f()

content_591193636215f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591196982be05()

content_591196982be05(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591196982d613()

content_591196982d613(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591196e72f19a()

content_591196e72f19a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591196e7307e1()

content_591196e7307e1(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591197404e811()

content_591197404e811(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591197404fd83()

content_591197404fd83(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911978be6196()

content_5911978be6196(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911978be79b3()

content_5911978be79b3(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591197c00be92()

content_591197c00be92(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591197c00d747()

content_591197c00d747(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591197fc2001c()

content_591197fc2001c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591197fc21885()

content_591197fc21885(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911985c23b11()

content_5911985c23b11(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911985c251b4()

content_5911985c251b4(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911987b8bc03()

content_5911987b8bc03(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911987b95287()

content_5911987b95287(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591198c0d95ac()

content_591198c0d95ac(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591198c0dae8d()

content_591198c0dae8d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5911b547074c8()

content_5911b547074c8(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591950376ff4b()

content_591950376ff4b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bab2d14c1()

content_5919bab2d14c1(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bab2d3d9b()

content_5919bab2d3d9b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bafdc06df()

content_5919bafdc06df(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bafdc33f3()

content_5919bafdc33f3(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bc6c3a253()

content_5919bc6c3a253(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bc6c3d045()

content_5919bc6c3d045(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bcba2b07d()

content_5919bcba2b07d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bcba2d936()

content_5919bcba2d936(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bde0d3398()

content_5919bde0d3398(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bde0d5b77()

content_5919bde0d5b77(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919be4793767()

content_5919be4793767(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919be4796a7b()

content_5919be4796a7b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bea1a1489()

content_5919bea1a1489(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bea1a4d4a()

content_5919bea1a4d4a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bef680a76()

content_5919bef680a76(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bef688822()

content_5919bef688822(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bf8651361()

content_5919bf8651361(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5919bf865a6dd()

content_5919bf865a6dd(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a7f5c7ac17()

content_591a7f5c7ac17(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a7f5c7c8e6()

content_591a7f5c7c8e6(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a7f9587600()

content_591a7f9587600(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a7f9588b9e()

content_591a7f9588b9e(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a7fbd17f75()

content_591a7fbd17f75(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a7fbd19693()

content_591a7fbd19693(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a7ff696b8c()

content_591a7ff696b8c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a7ff698188()

content_591a7ff698188(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a805861f6f()

content_591a805861f6f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a805863494()

content_591a805863494(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a8058648bd()

content_591a8058648bd(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a805865b8a()

content_591a805865b8a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a807527cce()

content_591a807527cce(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a8075292d4()

content_591a8075292d4(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a809b15ea5()

content_591a809b15ea5(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a809b1734f()

content_591a809b1734f(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a80cdead8a()

content_591a80cdead8a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a80cdec117()

content_591a80cdec117(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a80dabf981()

content_591a80dabf981(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a80dac0c7c()

content_591a80dac0c7c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a80eb1d362()

content_591a80eb1d362(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a80eb1ea87()

content_591a80eb1ea87(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a812180b1c()

content_591a812180b1c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a8121822cc()

content_591a8121822cc(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a81518b8e2()

content_591a81518b8e2(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a81518f6f5()

content_591a81518f6f5(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a815190ce3()

content_591a815190ce3(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a83fd0d7df()

content_591a83fd0d7df(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a87db33383()

content_591a87db33383(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a87db34f04()

content_591a87db34f04(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a96563e6b5()

content_591a96563e6b5(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a96564033a()

content_591a96564033a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9783f2f34()

content_591a9783f2f34(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a97840589c()

content_591a97840589c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9c904ffd0()

content_591a9c904ffd0(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9c905245b()

content_591a9c905245b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9ccd5dc53()

content_591a9ccd5dc53(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9ccd60359()

content_591a9ccd60359(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9d0b89797()

content_591a9d0b89797(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9d0b8e93b()

content_591a9d0b8e93b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9d6f3400e()

content_591a9d6f3400e(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9d6f35cbe()

content_591a9d6f35cbe(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9db5b05e9()

content_591a9db5b05e9(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9db5b440e()

content_591a9db5b440e(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9dda1a7a5()

content_591a9dda1a7a5(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591a9dda1cf77()

content_591a9dda1cf77(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aa9a4d9586()

content_591aa9a4d9586(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aa9a4db0a6()

content_591aa9a4db0a6(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aa9f19140d()

content_591aa9f19140d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aa9f192cb0()

content_591aa9f192cb0(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aaa1a8301d()

content_591aaa1a8301d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aaa1a84cbc()

content_591aaa1a84cbc(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aaaa05ddd7()

content_591aaaa05ddd7(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aaaa06018c()

content_591aaaa06018c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aafb87347d()

content_591aafb87347d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aafb874c91()

content_591aafb874c91(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aafe2aac9d()

content_591aafe2aac9d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591aafe2ac2c7()

content_591aafe2ac2c7(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ab0fc97742()

content_591ab0fc97742(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ab5544330a()

content_591ab5544330a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ab55446506()

content_591ab55446506(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ab59885263()

content_591ab59885263(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ab59890055()

content_591ab59890055(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591bfe99a60cf()

content_591bfe99a60cf(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591c4183497dc()

content_591c4183497dc(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591e40fa88c3b()

content_591e40fa88c3b(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591e443a14f49()

content_591e443a14f49(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591e5645e67e4()

content_591e5645e67e4(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ed1cb6aeb6()

content_591ed1cb6aeb6(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ed98a6f362()

content_591ed98a6f362(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591edcd352de0()

content_591edcd352de0(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591edcd354c07()

content_591edcd354c07(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591edcd35697e()

content_591edcd35697e(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591edcd357e99()

content_591edcd357e99(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591edcd3597c6()

content_591edcd3597c6(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591edcd361581()

content_591edcd361581(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591edcdd84fe5()

content_591edcdd84fe5(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ee0843a22a()

content_591ee0843a22a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_591ee0843bd9c()

content_591ee0843bd9c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_59216923d668a()

content_59216923d668a(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_592537b257dbf()

content_592537b257dbf(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_5925711d6503d()

content_5925711d6503d(  $_smarty_tpl) 

Parameters

$_smarty_tpl

content_593bada58002c()

content_593bada58002c(  $_smarty_tpl) 

Parameters

$_smarty_tpl

controller()

controller(string  $name, string  $path = '') : \Think\Controller|false

用于实例化访问控制器

Parameters

string $name

控制器名

string $path

控制器命名空间(路径)

Returns

\Think\Controller|false

cookie()

cookie(string  $name, mixed  $value = '',   $option = null) : mixed

Cookie 设置、获取、删除

Parameters

string $name

cookie名称

mixed $value

cookie值

$option

Returns

mixed

cookie()

cookie(string  $name = '', mixed  $value = '', mixed  $option = null) : mixed

Cookie 设置、获取、删除

Parameters

string $name

cookie名称

mixed $value

cookie值

mixed $option

cookie参数

Returns

mixed

D()

D(string  $name = '', string  $layer = '') : \Think\Model

实例化模型类 格式 [资源://][模块/]模型

Parameters

string $name

资源地址

string $layer

模型层名称

Returns

\Think\Model

D()

D(string  $name = '', string  $layer = '') : \Model

D函数用于实例化模型类 格式 [资源://][模块/]模型

Parameters

string $name

资源地址

string $layer

模型层名称

Returns

\Model

data_to_xml()

data_to_xml(mixed  $data, string  $item = 'item', string  $id = 'id') : string

数据XML编码

Parameters

mixed $data

数据

string $item

数字索引时的节点名称

string $id

数字索引key转换为的属性名

Returns

string

data_to_xml()

data_to_xml(mixed  $data, string  $item = 'item', string  $id = 'id') : string

数据XML编码

Parameters

mixed $data

数据

string $item

数字索引时的节点名称

string $id

数字索引key转换为的属性名

Returns

string

declare_empty_class()

declare_empty_class(  $classname) 

Parameters

$classname

dump()

dump(mixed  $var, boolean  $echo = true, string  $label = null, boolean  $strict = true) : void|string

浏览器友好的变量输出

Parameters

mixed $var

变量

boolean $echo

是否输出 默认为True 如果为false 则返回输出字符串

string $label

标签 默认为空

boolean $strict

是否严谨 默认为true

Returns

void|string

dump()

dump(mixed  $var, boolean  $echo = true, string  $label = null, boolean  $strict = true) : void|string

浏览器友好的变量输出

Parameters

mixed $var

变量

boolean $echo

是否输出 默认为True 如果为false 则返回输出字符串

string $label

标签 默认为空

boolean $strict

是否严谨 默认为true

Returns

void|string

E()

E(string  $msg, integer  $code) : void

抛出异常处理

Parameters

string $msg

异常消息

integer $code

异常代码 默认为0

Throws

\Think\Exception

E()

E(string  $msg, integer  $code) : void

抛出异常处理

Parameters

string $msg

异常消息

integer $code

异常代码 默认为0

F()

F(string  $name, mixed  $value = '', string  $path = DATA_PATH) : mixed

快速文件数据读取和保存 针对简单类型数据 字符串、数组

Parameters

string $name

缓存名称

mixed $value

缓存值

string $path

缓存路径

Returns

mixed

F()

F(string  $name, mixed  $value = '', string  $path = DATA_PATH) : mixed

快速文件数据读取和保存 针对简单类型数据 字符串、数组

Parameters

string $name

缓存名称

mixed $value

缓存值

string $path

缓存路径

Returns

mixed

file_exists_case()

file_exists_case(string  $filename) : boolean

区分大小写的文件存在判断

Parameters

string $filename

文件地址

Returns

boolean

file_exists_case()

file_exists_case(string  $filename) : boolean

区分大小写的文件存在判断

Parameters

string $filename

文件地址

Returns

boolean

file_get_contents()

file_get_contents(  $filename,   $incpath = false,   $resource_context = null) 

Parameters

$filename
$incpath
$resource_context

G()

G(string  $start, string  $end = '', integer|string  $dec = 4) : mixed

记录和统计时间(微秒)和内存使用情况 使用方法: <code> G('begin'); // 记录开始标记位 // .

.. 区间运行代码 G('end'); // 记录结束标签位 echo G('begin','end',6); // 统计区间运行时间 精确到小数后6位 echo G('begin','end','m'); // 统计区间内存使用情况 如果end标记位没有定义,则会自动以当前作为标记位 其中统计内存使用需要 MEMORY_LIMIT_ON 常量为true才有效

Parameters

string $start

开始标签

string $end

结束标签

integer|string $dec

小数位或者m

Returns

mixed

G()

G(string  $start, string  $end = '', integer|string  $dec = 4) : mixed

记录和统计时间(微秒)和内存使用情况 使用方法: <code> G('begin'); // 记录开始标记位 // .

.. 区间运行代码 G('end'); // 记录结束标签位 echo G('begin','end',6); // 统计区间运行时间 精确到小数后6位 echo G('begin','end','m'); // 统计区间内存使用情况 如果end标记位没有定义,则会自动以当前作为标记位 其中统计内存使用需要 MEMORY_LIMIT_ON 常量为true才有效

Parameters

string $start

开始标签

string $end

结束标签

integer|string $dec

小数位或者m

Returns

mixed

generate_compiler_debug_output()

generate_compiler_debug_output(  $object) 

Template Lite generate_debug_output template internal module

Type: template Name: generate_debug_output

Parameters

$object

get_client_ip()

get_client_ip(integer  $type) : mixed

获取客户端IP地址

Parameters

integer $type

返回类型 0 返回IP地址 1 返回IPV4地址数字

Returns

mixed

get_client_ip()

get_client_ip(integer  $type, boolean  $adv = false) : mixed

获取客户端IP地址

Parameters

integer $type

返回类型 0 返回IP地址 1 返回IPV4地址数字

boolean $adv

是否进行高级模式获取(有可能被伪装)

Returns

mixed

gzdecode()

gzdecode(  $data,   $filename = '',   $error = '',   $maxlength = null) 

Parameters

$data
$filename
$error
$maxlength

I()

I(string  $name, mixed  $default = '', mixed  $filter = null, mixed  $datas = null) : mixed

获取输入参数 支持过滤和默认值 使用方法: <code> I('id',0); 获取id参数 自动判断get或者post I('post.name','','htmlspecialchars'); 获取$_POST['name'] I('get.'); 获取$_GET </code>

Parameters

string $name

变量的名称 支持指定类型

mixed $default

不存在的时候默认值

mixed $filter

参数过滤方法

mixed $datas

要获取的额外数据源

Returns

mixed

I()

I(string  $name, mixed  $default = '', mixed  $filter = null, mixed  $datas = null) : mixed

获取输入参数 支持过滤和默认值 使用方法: <code> I('id',0); 获取id参数 自动判断get或者post I('post.name','','htmlspecialchars'); 获取$_POST['name'] I('get.'); 获取$_GET </code>

Parameters

string $name

变量的名称 支持指定类型

mixed $default

不存在的时候默认值

mixed $filter

参数过滤方法

mixed $datas

要获取的额外数据源

Returns

mixed

import()

import(string  $class, string  $baseUrl = '', string  $ext = EXT) : boolean

导入所需的类库 同java的Import 本函数有缓存功能

Parameters

string $class

类库命名空间字符串

string $baseUrl

起始路径

string $ext

导入的文件扩展名

Returns

boolean

import()

import(string  $class, string  $baseUrl = '', string  $ext = EXT) : boolean

导入所需的类库 同java的Import 本函数有缓存功能

Parameters

string $class

类库命名空间字符串

string $baseUrl

起始路径

string $ext

导入的文件扩展名

Returns

boolean

in_array_case()

in_array_case(  $value,   $array) 

Parameters

$value
$array

in_array_case()

in_array_case(  $value,   $array) 

Parameters

$value
$array

int32()

int32(  $n) 

Parameters

$n

is_list()

is_list(array  $a) 

Parameters

array $a

is_ssl()

is_ssl() : boolean

判断是否SSL协议

Returns

boolean

is_utf8()

is_utf8(  $s) 

Parameters

$s

keep_phprpc_cookie_in_session()

keep_phprpc_cookie_in_session() 

L()

L(string|array  $name = null, mixed  $value = null) : mixed

获取和设置语言定义(不区分大小写)

Parameters

string|array $name

语言变量

mixed $value

语言值或者变量

Returns

mixed

L()

L(string|array  $name = null, string  $value = null) : mixed

获取和设置语言定义(不区分大小写)

Parameters

string|array $name

语言变量

string $value

语言值

Returns

mixed

layout()

layout(string|false  $layout) : void

设置当前页面的布局

Parameters

string|false $layout

布局名称 为false的时候表示关闭布局

load()

load(string  $name, string  $baseUrl = '', string  $ext = '.php') : void

基于命名空间方式导入函数库 load('@.Util.Array')

Parameters

string $name

函数库命名空间字符串

string $baseUrl

起始路径

string $ext

导入的文件扩展名

load()

load(string  $name, string  $baseUrl = '', string  $ext = '.php') : void

基于命名空间方式导入函数库 load('@.Util.Array')

Parameters

string $name

函数库命名空间字符串

string $baseUrl

起始路径

string $ext

导入的文件扩展名

load_config()

load_config(string  $file, string  $parse = CONF_PARSE) : array

加载配置文件 支持格式转换 仅支持一级配置

Parameters

string $file

配置文件名

string $parse

配置解析方法 有些格式需要用户自己解析

Returns

array

load_config()

load_config(string  $file, string  $parse = CONF_PARSE) : void

加载配置文件 支持格式转换 仅支持一级配置

Parameters

string $file

配置文件名

string $parse

配置解析方法 有些格式需要用户自己解析

load_ext_file()

load_ext_file(  $path) : void

加载动态扩展文件

Parameters

$path

load_ext_file()

load_ext_file(  $path) : void

加载动态扩展文件

Parameters

$path

long2str()

long2str(  $v,   $w) 

Parameters

$v
$w

M()

M(string  $name = '', string  $tablePrefix = '', mixed  $connection = '') : \Model

M函数用于实例化一个没有模型文件的Model

Parameters

string $name

Model名称 支持指定基础模型 例如 MongoModel:User

string $tablePrefix

表前缀

mixed $connection

数据库连接信息

Returns

\Model

M()

M(string  $name = '', string  $tablePrefix = '', mixed  $connection = '') : \Think\Model

实例化一个没有模型文件的Model

Parameters

string $name

Model名称 支持指定基础模型 例如 MongoModel:User

string $tablePrefix

表前缀

mixed $connection

数据库连接信息

Returns

\Think\Model

N()

N(string  $key, integer  $step,   $save = false) : mixed

设置和获取统计数据 使用方法: <code> N('db',1); // 记录数据库操作次数 N('read',1); // 记录读取次数 echo N('db'); // 获取当前页面数据库的所有操作次数 echo N('read'); // 获取当前页面读取次数 </code>

Parameters

string $key

标识位置

integer $step

步进值

$save

Returns

mixed

N()

N(string  $key, integer  $step, boolean  $save = false) : mixed

设置和获取统计数据 使用方法: <code> N('db',1); // 记录数据库操作次数 N('read',1); // 记录读取次数 echo N('db'); // 获取当前页面数据库的所有操作次数 echo N('read'); // 获取当前页面读取次数 </code>

Parameters

string $key

标识位置

integer $step

步进值

boolean $save

是否保存结果

Returns

mixed

ob_get_clean()

ob_get_clean() 

parse_name()

parse_name(string  $name, integer  $type) : string

字符串命名风格转换 type 0 将Java风格转换为C的风格 1 将C风格转换为Java的风格

Parameters

string $name

字符串

integer $type

转换类型

Returns

string

parse_name()

parse_name(string  $name, integer  $type) : string

字符串命名风格转换 type 0 将Java风格转换为C的风格 1 将C风格转换为Java的风格

Parameters

string $name

字符串

integer $type

转换类型

Returns

string

parse_res_name()

parse_res_name(string  $name, string  $layer, integer  $level = 1) : string

解析资源地址并导入类库文件 例如 module/controller addon://module/behavior

Parameters

string $name

资源地址 格式:[扩展://][模块/]资源名

string $layer

分层名称

integer $level

控制器层次

Returns

string

parse_res_name()

parse_res_name(string  $name, string  $layer,   $level = 1) : string

解析资源地址并导入类库文件 例如 module/controller addon://module/behavior

Parameters

string $name

资源地址 格式:[扩展://][模块/]资源名

string $layer

分层名称

$level

Returns

string

php5to4()

php5to4(  $src,   $dest) 

Parameters

$src
$dest

R()

R(string  $url, string|array  $vars = array(), string  $layer = '') : mixed

远程调用控制器的操作方法 URL 参数格式 [资源://][模块/]控制器/操作

Parameters

string $url

调用地址

string|array $vars

调用参数 支持字符串和数组

string $layer

要调用的控制层名称

Returns

mixed

R()

R(string  $url, string|array  $vars = array(), string  $layer = '') : mixed

远程调用控制器的操作方法 URL 参数格式 [资源://][模块/]控制器/操作

Parameters

string $url

调用地址

string|array $vars

调用参数 支持字符串和数组

string $layer

要调用的控制层名称

Returns

mixed

redirect()

redirect(string  $url, integer  $time, string  $msg = '') : void

URL重定向

Parameters

string $url

重定向的URL地址

integer $time

重定向的等待时间(秒)

string $msg

重定向前的提示信息

redirect()

redirect(string  $url, integer  $time, string  $msg = '') : void

URL重定向

Parameters

string $url

重定向的URL地址

integer $time

重定向的等待时间(秒)

string $msg

重定向前的提示信息

require_cache()

require_cache(string  $filename) : boolean

优化的require_once

Parameters

string $filename

文件地址

Returns

boolean

require_cache()

require_cache(string  $filename) : boolean

优化的require_once

Parameters

string $filename

文件地址

Returns

boolean

roundTrip()

roundTrip(  $a) 

Parameters

$a

S()

S(mixed  $name, mixed  $value = '', mixed  $options = null) : mixed

缓存管理

Parameters

mixed $name

缓存名称,如果为数组表示进行缓存设置

mixed $value

缓存值

mixed $options

缓存参数

Returns

mixed

S()

S(mixed  $name, mixed  $value = '', mixed  $options = null) : mixed

缓存管理

Parameters

mixed $name

缓存名称,如果为数组表示进行缓存设置

mixed $value

缓存值

mixed $options

缓存参数

Returns

mixed

send_http_status()

send_http_status(integer  $code) : void

发送HTTP状态

Parameters

integer $code

状态码

send_http_status()

send_http_status(integer  $code) : void

发送HTTP状态

Parameters

integer $code

状态码

serialize_fix()

serialize_fix(  $v) 

Parameters

$v

session()

session(string|array  $name, mixed  $value = '') : mixed

session管理函数

Parameters

string|array $name

session名称 如果为数组则表示进行session设置

mixed $value

session值

Returns

mixed

session()

session(string|array  $name = '', mixed  $value = '') : mixed

session管理函数

Parameters

string|array $name

session名称 如果为数组则表示进行session设置

mixed $value

session值

Returns

mixed

smarty_block_textformat()

smarty_block_textformat(array  $params, string  $content, \Smarty_Internal_Template  $template,   $repeat) : string

Smarty {textformat}{/textformat} block plugin

Type: block function
Name: textformat
Purpose: format text a certain way with preset styles or custom wrap/indent settings
Params:

- style         - string (email)
- indent        - integer (0)
- wrap          - integer (80)
- wrap_char     - string ("\n")
- indent_char   - string (" ")
- wrap_boundary - boolean (true)

Parameters

array $params

parameters

string $content

contents of the block

\Smarty_Internal_Template $template

template object

$repeat

Returns

string —

content re-formatted

smarty_function_counter()

smarty_function_counter(array  $params, \Smarty_Internal_Template  $template) : string|null

Smarty {counter} function plugin

Type: function
Name: counter
Purpose: print out a counter value

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string|null

smarty_function_cycle()

smarty_function_cycle(array  $params, \Smarty_Internal_Template  $template) : string|null

Smarty {cycle} function plugin

Type: function
Name: cycle
Date: May 3, 2002
Purpose: cycle through given values
Params:

- name      - name of cycle (optional)
- values    - comma separated list of values to cycle, or an array of values to cycle
              (this can be left out for subsequent calls)
- reset     - boolean - resets given var to true
- print     - boolean - print var or not. default is true
- advance   - boolean - whether or not to advance the cycle
- delimiter - the value delimiter, default is ","
- assign    - boolean, assigns to template var instead of printed.

Examples:

{cycle values="#eeeeee,#d0d0d0d"}
{cycle name=row values="one,two,three" reset=true}
{cycle name=row}

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string|null

smarty_function_escape_special_chars()

smarty_function_escape_special_chars(string  $string) : string

escape_special_chars common function

Function: smarty_function_escape_special_chars
Purpose: used by other smarty functions to escape special chars except for already escaped ones

Parameters

string $string

text that should by escaped

Returns

string

smarty_function_fetch()

smarty_function_fetch(array  $params, \Smarty_Internal_Template  $template) : string|null

Smarty {fetch} plugin

Type: function
Name: fetch
Purpose: fetch file, web or ftp data and display results

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string|null —

if the assign parameter is passed, Smarty assigns the result to a template variable

smarty_function_html_checkboxes()

smarty_function_html_checkboxes(array  $params, object  $template) : string

Smarty {html_checkboxes} function plugin

File: function.html_checkboxes.php
Type: function
Name: html_checkboxes
Date: 24.Feb.2003
Purpose: Prints out a list of checkbox input types
Examples:

{html_checkboxes values=$ids output=$names}
{html_checkboxes values=$ids name='box' separator='
' output=$names} {html_checkboxes values=$ids checked=$checked separator='
' output=$names}

Params:

- name       (optional) - string default "checkbox"
- values     (required) - array
- options    (optional) - associative array
- checked    (optional) - array default not set
- separator  (optional) - ie 
or   - output (optional) - the output next to each checkbox - assign (optional) - assign the output as an array to this variable - escape (optional) - escape the content (not value), defaults to true

Parameters

array $params

parameters

object $template

template object

Returns

string

smarty_function_html_checkboxes_output()

smarty_function_html_checkboxes_output(  $name,   $value,   $output,   $selected,   $extra,   $separator,   $labels,   $label_ids,   $escape = true) 

Parameters

$name
$value
$output
$selected
$extra
$separator
$labels
$label_ids
$escape

smarty_function_html_image()

smarty_function_html_image(array  $params, \Smarty_Internal_Template  $template) : string

Smarty {html_image} function plugin

Type: function
Name: html_image
Date: Feb 24, 2003
Purpose: format HTML tags for the image
Examples: {html_image file="/images/masthead.gif"}
Output:
Params:

- file        - (required) - file (and path) of image
- height      - (optional) - image height (default actual height)
- width       - (optional) - image width (default actual width)
- basedir     - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT
- path_prefix - prefix for path output (optional, default empty)

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string

smarty_function_html_options()

smarty_function_html_options(array  $params, \Smarty_Internal_Template  $template) : string

Smarty {html_options} function plugin

Type: function
Name: html_options
Purpose: Prints the list of

- name       (optional) - string default "select"
- values     (required) - if no options supplied) - array
- options    (required) - if no values supplied) - associative array
- selected   (optional) - string default not set
- output     (required) - if not options supplied) - array
- id         (optional) - string default not set
- class      (optional) - string default not set

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string

smarty_function_html_options_optgroup()

smarty_function_html_options_optgroup(  $key,   $values,   $selected,   $id,   $class,   $idx) 

Parameters

$key
$values
$selected
$id
$class
$idx

smarty_function_html_options_optoutput()

smarty_function_html_options_optoutput(  $key,   $value,   $selected,   $id,   $class,   $idx) 

Parameters

$key
$value
$selected
$id
$class
$idx

smarty_function_html_radios()

smarty_function_html_radios(array  $params, \Smarty_Internal_Template  $template) : string

Smarty {html_radios} function plugin

File: function.html_radios.php
Type: function
Name: html_radios
Date: 24.Feb.2003
Purpose: Prints out a list of radio input types
Params:

- name       (optional) - string default "radio"
- values     (required) - array
- options    (required) - associative array
- checked    (optional) - array default not set
- separator  (optional) - ie 
or   - output (optional) - the output next to each radio button - assign (optional) - assign the output as an array to this variable - escape (optional) - escape the content (not value), defaults to true

Examples:

{html_radios values=$ids output=$names}
{html_radios values=$ids name='box' separator='
' output=$names} {html_radios values=$ids checked=$checked separator='
' output=$names}

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string

smarty_function_html_radios_output()

smarty_function_html_radios_output(  $name,   $value,   $output,   $selected,   $extra,   $separator,   $labels,   $label_ids,   $escape) 

Parameters

$name
$value
$output
$selected
$extra
$separator
$labels
$label_ids
$escape

smarty_function_html_select_date()

smarty_function_html_select_date(array  $params, \Smarty_Internal_Template  $template) : string

Smarty {html_select_date} plugin

Type: function
Name: html_select_date
Purpose: Prints the dropdowns for date selection.

ChangeLog:

           - 1.0 initial release
           - 1.1 added support for +/- N syntax for begin
             and end year values. (Monte)
           - 1.2 added support for yyyy-mm-dd syntax for
             time value. (Jan Rosier)
           - 1.3 added support for choosing format for
             month values (Gary Loescher)
           - 1.3.1 added support for choosing format for
             day values (Marcus Bointon)
           - 1.3.2 support negative timestamps, force year
             dropdown to include given date unless explicitly set (Monte)
           - 1.3.4 fix behaviour of 0000-00-00 00:00:00 dates to match that
             of 0000-00-00 dates (cybot, boots)
           - 2.0 complete rewrite for performance,
             added attributes month_names, *_id

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string

smarty_function_html_select_time()

smarty_function_html_select_time(array  $params, \Smarty_Internal_Template  $template) : string

Smarty {html_select_time} function plugin

Type: function
Name: html_select_time
Purpose: Prints the dropdowns for time selection

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string

smarty_function_html_table()

smarty_function_html_table(array  $params, \Smarty_Internal_Template  $template) : string

Smarty {html_table} function plugin

Type: function
Name: html_table
Date: Feb 17, 2003
Purpose: make an html table from an array of data
Params:

- loop       - array to loop through
- cols       - number of columns, comma separated list of column names
               or array of column names
- rows       - number of rows
- table_attr - table attributes
- th_attr    - table heading attributes (arrays are cycled)
- tr_attr    - table row attributes (arrays are cycled)
- td_attr    - table cell attributes (arrays are cycled)
- trailpad   - value to pad trailing cells with
- caption    - text for caption element
- vdir       - vertical direction (default: "down", means top-to-bottom)
- hdir       - horizontal direction (default: "right", means left-to-right)
- inner      - inner loop (default "cols": print $loop line by line,
               $loop will be printed column by column otherwise)

Examples:

{table loop=$data}
{table loop=$data cols=4 tr_attr='"bgcolor=red"'}
{table loop=$data cols="first,second,third" tr_attr=$colors}

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string

smarty_function_html_table_cycle()

smarty_function_html_table_cycle(  $name,   $var,   $no) 

Parameters

$name
$var
$no

smarty_function_mailto()

smarty_function_mailto(array  $params, \Smarty_Internal_Template  $template) : string

Smarty {mailto} function plugin

Type: function
Name: mailto
Date: May 21, 2002 Purpose: automate mailto address link creation, and optionally encode them.
Params:

- address    - (required) - e-mail address
- text       - (optional) - text to display, default is address
- encode     - (optional) - can be one of:
                            * none : no encoding (default)
                            * javascript : encode with javascript
                            * javascript_charcode : encode with javascript charcode
                            * hex : encode with hexidecimal (no javascript)
- cc         - (optional) - address(es) to carbon copy
- bcc        - (optional) - address(es) to blind carbon copy
- subject    - (optional) - e-mail subject
- newsgroups - (optional) - newsgroup(s) to post to
- followupto - (optional) - address(es) to follow up to
- extra      - (optional) - extra tags for the href link

Examples:

{mailto address="me@domain.com"}
{mailto address="me@domain.com" encode="javascript"}
{mailto address="me@domain.com" encode="hex"}
{mailto address="me@domain.com" subject="Hello to you!"}
{mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
{mailto address="me@domain.com" extra='class="mailto"'}

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string

smarty_function_math()

smarty_function_math(array  $params, \Smarty_Internal_Template  $template) : string|null

Smarty {math} function plugin

Type: function
Name: math
Purpose: handle math computations in template

Parameters

array $params

parameters

\Smarty_Internal_Template $template

template object

Returns

string|null

smarty_literal_compiler_param()

smarty_literal_compiler_param(array  $params, integer  $index, mixed  $default = null) : mixed

evaluate compiler parameter

Parameters

array $params

parameter array as given to the compiler function

integer $index

array index of the parameter to convert

mixed $default

value to be returned if the parameter is not present

Throws

\SmartyException

if parameter is not a literal (but an expression, variable, …)

Returns

mixed —

evaluated value of parameter or $default

smarty_make_timestamp()

smarty_make_timestamp(\DateTime|integer|string  $string) : integer

Function: smarty_make_timestamp<br> Purpose: used by other smarty functions to make a timestamp from a string.

Parameters

\DateTime|integer|string $string

date object, timestamp or string that can be converted using strtotime()

Returns

integer

smarty_mb_from_unicode()

smarty_mb_from_unicode(integer|array  $unicode, string  $encoding = null) : string

convert unicodes to the character of given encoding

Parameters

integer|array $unicode

single unicode or list of unicodes to convert

string $encoding

encoding of returned string, if null mb_internal_encoding() is used

Returns

string —

unicode as character sequence in given $encoding

smarty_mb_str_replace()

smarty_mb_str_replace(string  $search, string  $replace, string  $subject,   $count) : string

Multibyte string replace

Parameters

string $search

the string to be searched

string $replace

the replacement string

string $subject

the source string

$count

Returns

string —

replaced string

smarty_mb_to_unicode()

smarty_mb_to_unicode(string  $string, string  $encoding = null) : array

convert characters to their decimal unicode equivalents

Parameters

string $string

characters to calculate unicode of

string $encoding

encoding of $string, if null mb_internal_encoding() is used

Returns

array —

sequence of unicodes

smarty_mb_wordwrap()

smarty_mb_wordwrap(string  $str, integer  $width = 75, string  $break = "\n", boolean  $cut = false) : string

Wrap a string to a given number of characters

Parameters

string $str

the string to wrap

integer $width

the width of the output

string $break

the character used to break the line

boolean $cut

ignored parameter, just for the sake of

Returns

string —

wrapped string

smarty_modifier_capitalize()

smarty_modifier_capitalize(string  $string, boolean  $uc_digits = false, boolean  $lc_rest = false) : string

Smarty capitalize modifier plugin

Type: modifier
Name: capitalize
Purpose: capitalize words in the string

Parameters

string $string

string to capitalize

boolean $uc_digits

also capitalize "x123" to "X123"

boolean $lc_rest

capitalize first letters, lowercase all following letters "aAa" to "Aaa"

Returns

string —

capitalized string

smarty_modifier_date_format()

smarty_modifier_date_format(string  $string, string  $format = SMARTY_RESOURCE_DATE_FORMAT, string  $default_date = '', string  $formatter = 'auto') : string

Smarty date_format modifier plugin

Type: modifier
Name: date_format
Purpose: format datestamps via strftime
Input:

  • string: input date string
  • format: strftime format for output
  • default_date: default date if $string is empty

Parameters

string $string

input date string

string $format

strftime format for output

string $default_date

default date if $string is empty

string $formatter

either 'strftime' or 'auto'

Returns

string —

|void

smarty_modifier_debug_print_var()

smarty_modifier_debug_print_var(array|object  $var, integer  $depth, integer  $length = 40) : string

Smarty debug_print_var modifier plugin

Type: modifier
Name: debug_print_var
Purpose: formats variable contents for display in the console

Parameters

array|object $var

variable to be formatted

integer $depth

maximum recursion depth if $var is an array

integer $length

maximum string length if $var is a string

Returns

string

smarty_modifier_escape()

smarty_modifier_escape(string  $string, string  $esc_type = 'html', string  $char_set = null, boolean  $double_encode = true) : string

Smarty escape modifier plugin

Type: modifier
Name: escape
Purpose: escape string for output

Parameters

string $string

input string

string $esc_type

escape type

string $char_set

character set, used for htmlspecialchars() or htmlentities()

boolean $double_encode

encode already encoded entitites again, used for htmlspecialchars() or htmlentities()

Returns

string —

escaped input string

smarty_modifier_regex_replace()

smarty_modifier_regex_replace(string  $string, string|array  $search, string|array  $replace) : string

Smarty regex_replace modifier plugin

Type: modifier
Name: regex_replace
Purpose: regular expression search/replace

Parameters

string $string

input string

string|array $search

regular expression(s) to search for

string|array $replace

string(s) that should be replaced

Returns

string

smarty_modifier_replace()

smarty_modifier_replace(string  $string, string  $search, string  $replace) : string

Smarty replace modifier plugin

Type: modifier
Name: replace
Purpose: simple search/replace

Parameters

string $string

input string

string $search

text to search for

string $replace

replacement text

Returns

string

smarty_modifier_spacify()

smarty_modifier_spacify(string  $string, string  $spacify_char = ' ') : string

Smarty spacify modifier plugin

Type: modifier
Name: spacify
Purpose: add spaces between characters in a string

Parameters

string $string

input string

string $spacify_char

string to insert between characters.

Returns

string

smarty_modifier_truncate()

smarty_modifier_truncate(string  $string, integer  $length = 80, string  $etc = '...', boolean  $break_words = false, boolean  $middle = false) : string

Smarty truncate modifier plugin

Type: modifier
Name: truncate
Purpose: Truncate a string to a certain length if necessary, optionally splitting in the middle of a word, and appending the $etc string or inserting $etc into the middle.

Parameters

string $string

input string

integer $length

length of truncated text

string $etc

end string

boolean $break_words

truncate at word boundary

boolean $middle

truncate in the middle of text

Returns

string —

truncated string

smarty_modifiercompiler_cat()

smarty_modifiercompiler_cat(array  $params,   $compiler) : string

Smarty cat modifier plugin

Type: modifier
Name: cat
Date: Feb 24, 2003
Purpose: catenate a value to a variable
Input: string to catenate
Example: {$var|cat:"foo"}

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_count_characters()

smarty_modifiercompiler_count_characters(array  $params,   $compiler) : string

Smarty count_characters modifier plugin

Type: modifier
Name: count_characteres
Purpose: count the number of characters in a text

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_count_paragraphs()

smarty_modifiercompiler_count_paragraphs(array  $params,   $compiler) : string

Smarty count_paragraphs modifier plugin

Type: modifier
Name: count_paragraphs
Purpose: count the number of paragraphs in a text

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_count_sentences()

smarty_modifiercompiler_count_sentences(array  $params,   $compiler) : string

Smarty count_sentences modifier plugin

Type: modifier
Name: count_sentences Purpose: count the number of sentences in a text

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_count_words()

smarty_modifiercompiler_count_words(array  $params,   $compiler) : string

Smarty count_words modifier plugin

Type: modifier
Name: count_words
Purpose: count the number of words in a text

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_default()

smarty_modifiercompiler_default(array  $params,   $compiler) : string

Smarty default modifier plugin

Type: modifier
Name: default
Purpose: designate default value for empty variables

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_escape()

smarty_modifiercompiler_escape(array  $params,   $compiler) : string

Smarty escape modifier plugin

Type: modifier
Name: escape
Purpose: escape string for output

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_from_charset()

smarty_modifiercompiler_from_charset(array  $params,   $compiler) : string

Smarty from_charset modifier plugin

Type: modifier
Name: from_charset
Purpose: convert character encoding from $charset to internal encoding

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_indent()

smarty_modifiercompiler_indent(array  $params,   $compiler) : string

Smarty indent modifier plugin

Type: modifier
Name: indent
Purpose: indent lines of text

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_lower()

smarty_modifiercompiler_lower(array  $params,   $compiler) : string

Smarty lower modifier plugin

Type: modifier
Name: lower
Purpose: convert string to lowercase

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_noprint()

smarty_modifiercompiler_noprint(array  $params,   $compiler) : string

Smarty noprint modifier plugin

Type: modifier
Name: noprint
Purpose: return an empty string

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_string_format()

smarty_modifiercompiler_string_format(array  $params,   $compiler) : string

Smarty string_format modifier plugin

Type: modifier
Name: string_format
Purpose: format strings via sprintf

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_strip()

smarty_modifiercompiler_strip(array  $params,   $compiler) : string

Smarty strip modifier plugin

Type: modifier
Name: strip
Purpose: Replace all repeated spaces, newlines, tabs with a single space or supplied replacement string.
Example: {$var|strip} {$var|strip:" "}
Date: September 25th, 2002

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_strip_tags()

smarty_modifiercompiler_strip_tags(array  $params,   $compiler) : string

Smarty strip_tags modifier plugin

Type: modifier
Name: strip_tags
Purpose: strip html tags from text

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_to_charset()

smarty_modifiercompiler_to_charset(array  $params,   $compiler) : string

Smarty to_charset modifier plugin

Type: modifier
Name: to_charset
Purpose: convert character encoding from internal encoding to $charset

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_unescape()

smarty_modifiercompiler_unescape(array  $params,   $compiler) : string

Smarty unescape modifier plugin

Type: modifier
Name: unescape
Purpose: unescape html entities

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_upper()

smarty_modifiercompiler_upper(array  $params,   $compiler) : string

Smarty upper modifier plugin

Type: modifier
Name: lower
Purpose: convert string to uppercase

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_modifiercompiler_wordwrap()

smarty_modifiercompiler_wordwrap(array  $params,   $compiler) : string

Smarty wordwrap modifier plugin

Type: modifier
Name: wordwrap
Purpose: wrap a string of text at a given length

Parameters

array $params

parameters

$compiler

Returns

string —

with compiled code

smarty_outputfilter_trimwhitespace()

smarty_outputfilter_trimwhitespace(string  $source, \Smarty_Internal_Template  $smarty) : string

Smarty trimwhitespace outputfilter plugin

Trim unnecessary whitespace from HTML markup.

Parameters

string $source

input string

\Smarty_Internal_Template $smarty

Smarty object

Returns

string —

filtered output

smarty_php_tag()

smarty_php_tag(array  $params, string  $content, object  $template,   $repeat) : string

Smarty {php}{/php} block function

Parameters

array $params

parameter list

string $content

contents of the block

object $template

template object

$repeat

Returns

string —

content re-formatted

smarty_variablefilter_htmlspecialchars()

smarty_variablefilter_htmlspecialchars(string  $source, \Smarty_Internal_Template  $smarty) : string

Smarty htmlspecialchars variablefilter plugin

Parameters

string $source

input string

\Smarty_Internal_Template $smarty

Smarty object

Returns

string —

filtered output

smartyAutoload()

smartyAutoload(  $class) 

Autoloader

Parameters

$class

spl_object_hash()

spl_object_hash(  $object) 

Parameters

$object

spyc_dump()

spyc_dump(array  $data) : string

Dumps array to YAML.

Parameters

array $data

Array.

Returns

string

spyc_load()

spyc_load(string  $string) : array

Parses YAML to array.

Parameters

string $string

YAML string.

Returns

array

spyc_load_file()

spyc_load_file(string  $file) : array

Parses YAML to array.

Parameters

string $file

Path to YAML file.

Returns

array

str2long()

str2long(  $s,   $w) 

Parameters

$s
$w

strip_whitespace()

strip_whitespace(string  $content) : string

去除代码中的空白和注释

Parameters

string $content

代码内容

Returns

string

strip_whitespace()

strip_whitespace(string  $content) : string

去除代码中的空白和注释

Parameters

string $content

代码内容

Returns

string

T()

T(string  $template = '', string  $layer = '') : string

获取模版文件 格式 资源://模块@主题/控制器/操作

Parameters

string $template

模版资源地址

string $layer

视图层(目录)名称

Returns

string

tag()

tag(string  $tag, mixed  $params = NULL) : void

处理标签扩展

Parameters

string $tag

标签名称

mixed $params

传入参数

template_build_dir()

template_build_dir(  $dir,   $id,   $object) 

Template Lite template_build_dir template internal module

Type: template Name: template_build_dir

Parameters

$dir
$id
$object

template_destroy_dir()

template_destroy_dir(  $file,   $id,   $dir,   $object) 

Template Lite template_destroy_dir template internal module

Type: template Name: template_destroy_dir

Parameters

$file
$id
$dir
$object

template_fetch_compile_include()

template_fetch_compile_include(  $_templatelite_include_file,   $_templatelite_include_vars,   $object) 

Template Lite template_fetch_compile_include template internal module

Type: template Name: template_fetch_compile_include

Parameters

$_templatelite_include_file
$_templatelite_include_vars
$object

template_generate_debug_output()

template_generate_debug_output(  $object) 

Template Lite template_generate_debug_output template internal module

Type: template Name: template_generate_debug_output

Parameters

$object

template_rm_dir()

template_rm_dir(  $dir) 

Parameters

$dir

think_filter()

think_filter(  $value) 

Parameters

$value

think_filter()

think_filter(  $value) 

Parameters

$value

throw_exception()

throw_exception(string  $msg, string  $type = 'Think\\Exception', integer  $code) : void

自定义异常处理

Parameters

string $msg

异常消息

string $type

异常类型 默认为Think\Exception

integer $code

异常代码 默认为0

to_guid_string()

to_guid_string(mixed  $mix) : string

根据PHP各种类型变量生成唯一标识号

Parameters

mixed $mix

变量

Returns

string

to_guid_string()

to_guid_string(mixed  $mix) : string

根据PHP各种类型变量生成唯一标识号

Parameters

mixed $mix

变量

Returns

string

trace()

trace(string  $value = '[think]', string  $label = '', string  $level = 'DEBUG', boolean  $record = false) : void

添加和获取页面Trace记录

Parameters

string $value

变量

string $label

标签

string $level

日志级别

boolean $record

是否记录日志

trace()

trace(string  $value = '[think]', string  $label = '', string  $level = 'DEBUG', boolean  $record = false) : void|array

添加和获取页面Trace记录

Parameters

string $value

变量

string $label

标签

string $level

日志级别

boolean $record

是否记录日志

Returns

void|array

U()

U(string  $url = '', string|array  $vars = '', string|boolean  $suffix = true, boolean  $domain = false) : string

URL组装 支持不同URL模式

Parameters

string $url

URL表达式,格式:'[模块/控制器/操作#锚点@域名]?参数1=值1&参数2=值2...'

string|array $vars

传入的参数,支持数组和字符串

string|boolean $suffix

伪静态后缀,默认为true表示获取配置值

boolean $domain

是否显示域名

Returns

string

ustrlen()

ustrlen(  $s) 

Parameters

$s

vendor()

vendor(string  $class, string  $baseUrl = '', string  $ext = '.php') : boolean

快速导入第三方框架类库 所有第三方框架的类库文件统一放到 系统的Vendor目录下面

Parameters

string $class

类库

string $baseUrl

基础目录

string $ext

类库后缀

Returns

boolean

vendor()

vendor(string  $class, string  $baseUrl = '', string  $ext = '.php') : boolean

快速导入第三方框架类库 所有第三方框架的类库文件统一放到 系统的Vendor目录下面

Parameters

string $class

类库

string $baseUrl

基础目录

string $ext

类库后缀

Returns

boolean

W()

W(string  $name, array  $data = array()) : void

渲染输出Widget

Parameters

string $name

Widget名称

array $data

传入的参数

xml_encode()

xml_encode(mixed  $data, string  $root = 'think', string  $item = 'item', string  $attr = '', string  $id = 'id', string  $encoding = 'utf-8') : string

XML编码

Parameters

mixed $data

数据

string $root

根节点名

string $item

数字索引的子节点名

string $attr

根节点属性

string $id

数字索引子节点key转换的属性名

string $encoding

数据编码

Returns

string

xml_encode()

xml_encode(mixed  $data, string  $root = 'think', string  $item = 'item', string  $attr = '', string  $id = 'id', string  $encoding = 'utf-8') : string

XML编码

Parameters

mixed $data

数据

string $root

根节点名

string $item

数字索引的子节点名

string $attr

根节点属性

string $id

数字索引子节点key转换的属性名

string $encoding

数据编码

Returns

string

xxtea_decrypt()

xxtea_decrypt(  $str,   $key) 

Parameters

$str
$key

xxtea_encrypt()

xxtea_encrypt(  $str,   $key) 

Parameters

$str
$key

yaml_parse_file()

yaml_parse_file(  $file) 

Parameters

$file