__ACTION__
__ACTION__ = __URL__ . $depr . ACTION_NAME
Zend_Loader_Autoloader_Interface | Autoloader interface |
Zend_Loader_PluginLoader_Interface | Plugin class loader interface |
Zend_Server_Interface | Zend_Server_Interface |
_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 |
Action | ThinkPHP 命令模式Action控制器基类 |
Action | ThinkPHP Action控制器基类 精简模式 |
Action | ThinkPHP AMF模式Action控制器基类 |
Action | ThinkPHP 简洁模式Action控制器基类 |
Action | ThinkPHP AMF模式Action控制器基类 |
Action | ThinkPHP Action控制器基类 抽象类 |
Action | ThinkPHP RESTFul 控制器基类 抽象类 |
AdvModel | 高级模型扩展 |
AgentCheckBehavior | 行为扩展:代理检测 |
App | ThinkPHP 应用程序类 执行应用过程管理 可以在模式扩展中重新定义 但是必须具有Run方法接口 |
App | ThinkPHP 应用程序类 精简模式 |
App | ThinkPHP AMF模式应用程序类 |
App | ThinkPHP 精简模式应用程序类 |
App | ThinkPHP AMF模式应用程序类 |
App | ThinkPHP 命令模式应用程序类 |
ArrayList | ArrayList实现类 |
Auth | 权限认证类 功能特性: 1,是对规则进行认证,不是对节点进行认证。用户可以把节点当作规则名称实现对节点进行认证。 $auth=new Auth(); $auth->check('规则名称','用户id') 2,可以同时对多条规则进行认证,并设置多条规则的关系(or或者and) $auth=new Auth(); $auth->check('规则1,规则2','用户id','and') 第三个参数为and时表示,用户需要同时具有规则1和规则2的权限。 当第三个参数为or时,表示用户值需要具备其中一个条件即可。默认为or 3,一个用户可以属于多个用户组(think_auth_group_access表 定义了用户所属用户组)。我们需要设置每个用户组拥有哪些规则(think_auth_group 定义了用户组权限) |
Base64 | Base64 加密实现类 |
Behavior | ThinkPHP Behavior基础类 |
BrowserCheckBehavior | 浏览器防刷新检测 |
Cache | 缓存管理类 |
CacheApachenote | Apachenote缓存驱动 |
CacheApc | Apc缓存驱动 |
CacheDb | 数据库方式缓存驱动 CREATE TABLE think_cache ( cachekey varchar(255) NOT NULL, expire int(11) NOT NULL, data blob, datacrc int(32), UNIQUE KEY `cachekey` (`cachekey`) ); |
CacheEaccelerator | Eaccelerator缓存驱动 |
CacheFile | 文件类型缓存类 |
CacheMemcache | Memcache缓存驱动 |
CacheRedis | Redis缓存驱动 要求安装phpredis扩展:https://github.com/nicolasff/phpredis |
CacheShmop | Shmop缓存驱动 |
CacheSqlite | Sqlite缓存驱动 |
CacheWincache | Wincache缓存驱动 |
CacheXcache | Xcache缓存驱动 |
CheckActionRouteBehavior | 系统行为扩展:操作路由检测 |
CheckLangBehavior | 语言检测 并自动加载语言包 |
CheckRestRouteBehavior | 系统行为扩展 REST路由检测 |
CheckRouteBehavior | 系统行为扩展:路由检测 |
CheckUrlExtBehavior | 行为扩展 URL资源类型检测 |
CodeSwitch | |
config | |
ContentReplaceBehavior | 系统行为扩展:模板内容输出替换 |
Cookie | +------------------------------------------------------------------------------ Cookie管理类 +------------------------------------------------------------------------------ |
CronRunBehavior | 自动执行任务 |
Crypt | Crypt 加密实现类 |
Date | 日期时间操作类 |
Db | ThinkPHP 简洁模式数据库中间层实现类 只支持mysql |
Db | ThinkPHP 精简模式数据库中间层实现类 只支持Mysql |
Db | ThinkPHP AMF模式数据库中间层实现类 只支持Mysql |
Db | ThinkPHP 精简模式数据库中间层实现类 只支持Mysql |
Db | ThinkPHP 数据库中间层实现类 |
Db | ThinkPHP AMF模式数据库中间层实现类 只支持Mysql |
DbIbase | Firebird数据库驱动 |
DbMongo | Mongo数据库驱动 必须配合MongoModel使用 |
DbMssql | MSsql数据库驱动 要求sqlserver2005 |
DbMysql | Mysql数据库驱动类 |
DbMysqli | Mysqli数据库驱动类 |
DbOracle | Oracle数据库驱动 |
DbPdo | PDO数据库驱动 |
DbPgsql | Pgsql数据库驱动 |
DbSqlite | Sqlite数据库驱动 |
DbSqlsrv | Sqlsrv数据库驱动 |
Debug | 系统调试类 |
Des | Des 加密实现类 Converted from JavaScript to PHP by Jim Gibbs, June 2004 Paul Tero, July 2001 Optimised for performance with large blocks by Michael Hayworth, November 2001 http://www.netdealing.com |
DHParams | |
Dispatcher | ThinkPHP内置的Dispatcher类 用于精简模式 完成URL解析、路由和调度 |
Dispatcher | ThinkPHP内置的Dispatcher类 完成URL解析、路由和调度 |
ETCore | |
FB | |
FirePHP | Sends the given data to the FirePHP Firefox Extension. |
FireShowPageTraceBehavior | +------------------------------------------------------------------------------ 系统行为扩展 页面Trace显示输出 +------------------------------------------------------------------------------ |
GIF | |
GIFDecoder | |
GIFEncoder | |
GoodAction | ThinkPHP AMF模式Action控制器基类 |
GoodAction | ThinkPHP AMF模式Action控制器基类 |
Hmac | HMAC 加密实现类 |
HomePageAction | |
HomePageAction | ThinkPHP AMF模式Action控制器基类 |
HtmlExtractor | |
Http | Http 工具类 提供一系列的Http方法 |
Image | 图像操作类库 |
ImageGd | |
ImageImagick | |
IndexAction | ThinkPHP AMF模式Action控制器基类 |
IndexAction | ThinkPHP AMF模式Action控制器基类 |
Input | 输入数据管理类 使用方法 $Input = Input::getInstance(); $Input->get('name','md5','0'); $Input->session('memberId','','0'); |
IpLocation | IP 地理位置查询类 修改自 CoolCode.CN 由于使用UTF8编码 如果使用纯真IP地址库的话 需要对返回结果进行编码转换 |
Log | 日志处理类 |
Log | 日志处理类 |
logTool | |
logTool | |
message | |
message | |
Model | ThinkPHP 简洁模式Model模型类 只支持原生SQL操作 支持多数据库连接和切换 |
Model | ThinkPHP 精简模式Model模型类 只支持CURD和连贯操作 以及常用查询 去掉回调接口 |
Model | ThinkPHP Model模型类 实现了ORM和ActiveRecords模式 |
Model | ThinkPHP AMF模式Model模型类 只支持CURD和连贯操作 以及常用查询 去掉回调接口 |
Model | ThinkPHP Phprpc模式Model模型类 只支持CURD和连贯操作 以及常用查询 去掉回调接口 |
Model | ThinkPHP CLI模式Model模型类 |
MongoModel | MongoModel模型类 实现了ODM和ActiveRecords模式 |
OrderAction | ThinkPHP AMF模式Action控制器基类 |
OrderAction | ThinkPHP AMF模式Action控制器基类 |
Page | |
ParseTemplateBehavior | 系统行为扩展:模板解析 |
PHPRPC_Client | |
PHPRPC_Date | |
PHPRPC_Error | |
PHPRPC_Server | |
RBAC | +------------------------------------------------------------------------------ 基于角色的数据库方式验证类 +------------------------------------------------------------------------------ |
ReadHtmlCacheBehavior | 系统行为扩展:静态缓存读取 |
RelationModel | ThinkPHP Model模型类 实现了ORM和ActiveRecords模式 |
RestAction | ThinkPHP Restful 控制器扩展 |
RobotCheckBehavior | 机器人检测 |
Rsa | Rsa 加密实现类 |
Session | +------------------------------------------------------------------------------ Session管理类 +------------------------------------------------------------------------------ |
SessionDb | 数据库方式Session驱动 CREATE TABLE think_session ( session_id varchar(255) NOT NULL, session_expire int(11) NOT NULL, session_data blob, UNIQUE KEY `session_id` (`session_id`) ); |
ShowPageTraceBehavior | 系统行为扩展:页面Trace显示输出 |
ShowRuntimeBehavior | 系统行为扩展:运行时间信息显示 |
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 |
Socket | |
Stack | Stack实现类 |
String | |
SwitchMobileTplBehavior | ThinkPHP Behavior基础类 |
TagLib | ThinkPHP标签库TagLib解析基类 |
TagLibCx | CX标签库解析类 |
TagLibHtml | Html标签库驱动 |
template | |
Template_Lite | |
Template_Lite_Compiler | |
TemplateEase | EaseTemplate模板引擎驱动 |
TemplateLite | TemplateLite模板引擎驱动 |
TemplateMobile | MobileTemplate模板引擎驱动 |
TemplateMobile | MobileTemplate模板引擎驱动 |
TemplateSmart | Smart模板引擎驱动 |
TemplateSmarty | Smarty模板引擎驱动 |
Think | ThinkPHP Portal类 |
ThinkException | ThinkPHP系统异常基类 |
ThinkImage | 图片处理驱动类,可配置图片处理库 目前支持GD库和imagick |
ThinkTemplate | ThinkPHP内置模板引擎类 支持XML标签和普通标签的模板解析 编译型模板引擎 支持动态缓存 |
TokenBuildBehavior | 系统行为扩展:表单令牌生成 |
TP_yyStackEntry | |
TP_yyToken | Smarty Internal Plugin Templateparser |
TPC_yyStackEntry | |
TPC_yyToken | Smarty Internal Plugin Configfileparser |
Undefined_Smarty_Variable | class for undefined variable object |
UpgradeNoticeBehavior | 升级短信通知, 如果有ThinkPHP新版升级,或者重要的更新,会发送短信通知你。 需要使用SAE的短信服务。请先找一个SAE的应用开通短信服务。 使用步骤如下: 1,在项目的Conf目录下建立tags.php配置文件,内容如下: <code> <?php return array( 'app_init' => array('UpgradeNotice') ); </code> |
UploadFile | 文件上传类 |
UserAction | ThinkPHP AMF模式Action控制器基类 |
UserAction | ThinkPHP AMF模式Action控制器基类 |
View | ThinkPHP 视图类 |
ViewModel | ThinkPHP视图模型扩展 |
Widget | ThinkPHP Widget类 抽象类 |
WriteHtmlCacheBehavior | 系统行为扩展:静态缓存写入 |
Xxtea | Xxtea 加密实现类 |
Zend_Amf_Adobe_Auth | This class implements authentication against XML file with roles for Flex Builder. |
Zend_Amf_Adobe_DbInspector | This class implements authentication against XML file with roles for Flex Builder. |
Zend_Amf_Adobe_Introspector | This class implements a service for generating AMF service descriptions as XML. |
Zend_Amf_Auth_Abstract | Base abstract class for AMF authentication implementation |
Zend_Amf_Constants | The following constants are used throughout serialization and deserialization to detect the AMF marker and encoding types. |
Zend_Amf_Exception | |
Zend_Amf_Parse_Amf0_Deserializer | Read an AMF0 input stream and convert it into PHP data types |
Zend_Amf_Parse_Amf0_Serializer | Serializer php misc types back to there corresponding AMF0 Type Marker. |
Zend_Amf_Parse_Amf3_Deserializer | Read an AMF3 input stream and convert it into PHP data types. |
Zend_Amf_Parse_Amf3_Serializer | Detect PHP object type and convert it to a corresponding AMF3 object type |
Zend_Amf_Parse_Deserializer | Abstract cass that all deserializer must implement. |
Zend_Amf_Parse_InputStream | InputStream is used to iterate at a binary level through the AMF request. |
Zend_Amf_Parse_OutputStream | Iterate at a binary level through the AMF response |
Zend_Amf_Parse_Resource_MysqliResult | This class will convert mysql result resource to array suitable for passing to the external entities. |
Zend_Amf_Parse_Resource_MysqlResult | This class will convert mysql result resource to array suitable for passing to the external entities. |
Zend_Amf_Parse_Resource_Stream | This class will convert stream resource to string by just reading it |
Zend_Amf_Parse_Serializer | Base abstract class for all AMF serializers. |
Zend_Amf_Parse_TypeLoader | Loads a local class and executes the instantiation of that class. |
Zend_Amf_Request | Handle the incoming AMF request by deserializing the data to php object types and storing the data for Zend_Amf_Server to handle for processing. |
Zend_Amf_Request_Http | AMF Request object -- Request via HTTP |
Zend_Amf_Response | Handles converting the PHP object ready for response back into AMF |
Zend_Amf_Response_Http | Creates the proper http headers and send the serialized AMF stream to standard out. |
Zend_Amf_Server | An AMF gateway server implementation to allow the connection of the Adobe Flash Player to Zend Framework |
Zend_Amf_Server_Exception | Zend_Amf_Server_Exception |
Zend_Amf_Util_BinaryStream | Utility class to walk through a data stream byte by byte with conventional names |
Zend_Amf_Value_ByteArray | Wrapper class to store an AMF3 flash.utils.ByteArray |
Zend_Amf_Value_MessageBody | An AMF Message contains information about the actual individual transaction that is to be performed. It specifies the remote operation that is to be performed; a local (client) operation to be invoked upon success; and, the data to be used in the operation. |
Zend_Amf_Value_MessageHeader | Message Headers provide context for the processing of the the AMF Packet and all subsequent Messages. |
Zend_Amf_Value_Messaging_AbstractMessage | This is the default Implementation of Message, which provides a convenient base for behavior and association of common endpoints |
Zend_Amf_Value_Messaging_AcknowledgeMessage | This is the type of message returned by the MessageBroker to endpoints after the broker has routed an endpoint's message to a service. |
Zend_Amf_Value_Messaging_ArrayCollection | Type encapsulating Flex ArrayCollection |
Zend_Amf_Value_Messaging_AsyncMessage | This type of message contains information necessary to perform point-to-point or publish-subscribe messaging. |
Zend_Amf_Value_Messaging_CommandMessage | A message that represents an infrastructure command passed between client and server. Subscribe/unsubscribe operations result in CommandMessage transmissions, as do polling operations. |
Zend_Amf_Value_Messaging_ErrorMessage | Creates the error message to report to flex the issue with the call |
Zend_Amf_Value_Messaging_RemotingMessage | This type of message contains information needed to perform a Remoting invocation. |
Zend_Amf_Value_TraitsInfo | Zend_Amf_Value_TraitsInfo |
Zend_Auth | |
Zend_Date | |
Zend_Date_Cities | Additional data for sunset/sunrise calculations |
Zend_Date_DateObject | |
Zend_Date_Exception | |
Zend_Exception | |
Zend_Loader | Static methods for loading classes and files. |
Zend_Loader_Autoloader | Autoloader stack and namespace autoloader |
Zend_Loader_Autoloader_Resource | Resource loader |
Zend_Loader_Exception | |
Zend_Loader_PluginLoader | Generic plugin class loader |
Zend_Loader_PluginLoader_Exception | Plugin class loader exceptions |
Zend_Server_Abstract | Zend_Server_Abstract |
Zend_Server_Cache | Zend_Server_Cache: cache server definitions |
Zend_Server_Definition | Server methods metadata |
Zend_Server_Exception | Zend_Server_Reflection exceptions |
Zend_Server_Method_Callback | Method callback metadata |
Zend_Server_Method_Definition | Method definition metadata |
Zend_Server_Method_Parameter | Method parameter metadata |
Zend_Server_Method_Prototype | Method prototype metadata |
Zend_Server_Reflection | Reflection for determining method signatures to use with server classes |
Zend_Server_Reflection_Class | Class/Object reflection |
Zend_Server_Reflection_Exception | Zend_Server_Reflection exceptions |
Zend_Server_Reflection_Function | Function Reflection |
Zend_Server_Reflection_Function_Abstract | Function/Method Reflection |
Zend_Server_Reflection_Method | Method Reflection |
Zend_Server_Reflection_Node | Node Tree class for Zend_Server reflection operations |
Zend_Server_Reflection_Parameter | Parameter Reflection |
Zend_Server_Reflection_Prototype | Method/Function prototypes |
Zend_Server_Reflection_ReturnValue | Return value reflection |
Zend_Version | Class to store and retrieve the version of Zend Framework. |
A(string $name, string $layer = '', boolean $common = false) : \Action|false
A函数用于实例化Action 格式:[项目://][分组/]模块
string | $name | Action资源地址 |
string | $layer | 控制层名称 |
boolean | $common | 是否公共目录 |
D(string $name = '', string $layer = '') : \Model
D函数用于实例化Model 格式 项目://分组/模块
string | $name | Model资源地址 |
string | $layer | 业务层名称 |
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才有效
string | $start | 开始标签 |
string | $end | 结束标签 |
integer|string | $dec | 小数位或者m |
gzdecode( $data, $filename = '', $error = '', $maxlength = null)
3 more bugs found and fixed: 1. failed to work when the gz contained a filename - FIXED 2. failed to work on 64-bit architecture (checksum) - FIXED 3. failed to work when the gz contained a comment - cannot verify.
Returns some errors (not all!) and filename.
$data | ||
$filename | ||
$error | ||
$maxlength |
I(string $name, mixed $default = '', mixed $filter = null) : mixed
获取输入参数 支持过滤和默认值 使用方法: <code> I('id',0); 获取id参数 自动判断get或者post I('post.name','','htmlspecialchars'); 获取$_POST['name'] I('get.'); 获取$_GET </code>
string | $name | 变量的名称 支持指定类型 |
mixed | $default | 不存在的时候默认值 |
mixed | $filter | 参数过滤方法 |
M(string $name = '', string $tablePrefix = '', mixed $connection = '') : \Model
M函数用于实例化一个没有模型文件的Model
string | $name | Model名称 支持指定基础模型 例如 MongoModel:User |
string | $tablePrefix | 表前缀 |
mixed | $connection | 数据库连接信息 |
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)
array | $params | parameters |
string | $content | contents of the block |
\Smarty_Internal_Template | $template | template object |
$repeat |
content re-formatted
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
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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}
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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
string | $string | text that should by escaped |
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
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
if the assign parameter is passed, Smarty assigns the result to a template variable
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
array | $params | parameters |
object | $template | template object |
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)
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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}
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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}
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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"'}
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
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
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |
smarty_literal_compiler_param(array $params, integer $index, mixed $default = null) : mixed
evaluate compiler parameter
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 |
if parameter is not a literal (but an expression, variable, …)
evaluated value of parameter or $default
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.
\DateTime|integer|string | $string | date object, timestamp or string that can be converted using strtotime() |
smarty_mb_from_unicode(integer|array $unicode, string $encoding = null) : string
convert unicodes to the character of given encoding
integer|array | $unicode | single unicode or list of unicodes to convert |
string | $encoding | encoding of returned string, if null mb_internal_encoding() is used |
unicode as character sequence in given $encoding
smarty_mb_str_replace(string $search, string $replace, string $subject, $count) : string
Multibyte string replace
string | $search | the string to be searched |
string | $replace | the replacement string |
string | $subject | the source string |
$count |
replaced string
smarty_mb_to_unicode(string $string, string $encoding = null) : array
convert characters to their decimal unicode equivalents
string | $string | characters to calculate unicode of |
string | $encoding | encoding of $string, if null mb_internal_encoding() is used |
sequence of unicodes
smarty_mb_wordwrap(string $str, integer $width = 75, string $break = "\n", boolean $cut = false) : string
Wrap a string to a given number of characters
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 |
wrapped string
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
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" |
capitalized string
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 | $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' |
|void
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
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 |
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
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() |
escaped input string
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
string | $string | input string |
string|array | $search | regular expression(s) to search for |
string|array | $replace | string(s) that should be replaced |
smarty_modifier_replace(string $string, string $search, string $replace) : string
Smarty replace modifier plugin
Type: modifier
Name: replace
Purpose: simple search/replace
string | $string | input string |
string | $search | text to search for |
string | $replace | replacement text |
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
string | $string | input string |
string | $spacify_char | string to insert between characters. |
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.
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 |
truncated string
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"}
array | $params | parameters |
$compiler |
with compiled code
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
array | $params | parameters |
$compiler |
with compiled code
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
array | $params | parameters |
$compiler |
with compiled code
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
array | $params | parameters |
$compiler |
with compiled code
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
array | $params | parameters |
$compiler |
with compiled code
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
array | $params | parameters |
$compiler |
with compiled code
smarty_modifiercompiler_string_format(array $params, $compiler) : string
Smarty string_format modifier plugin
Type: modifier
Name: string_format
Purpose: format strings via sprintf
array | $params | parameters |
$compiler |
with compiled code
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
array | $params | parameters |
$compiler |
with compiled code
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
array | $params | parameters |
$compiler |
with compiled code
smarty_outputfilter_trimwhitespace(string $source, \Smarty_Internal_Template $smarty) : string
Smarty trimwhitespace outputfilter plugin
Trim unnecessary whitespace from HTML markup.
string | $source | input string |
\Smarty_Internal_Template | $smarty | Smarty object |
filtered output
smarty_variablefilter_htmlspecialchars(string $source, \Smarty_Internal_Template $smarty) : string
Smarty htmlspecialchars variablefilter plugin
string | $source | input string |
\Smarty_Internal_Template | $smarty | Smarty object |
filtered output
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
$_templatelite_include_file | ||
$_templatelite_include_vars | ||
$object |
U(string $url = '', string|array $vars = '', string $suffix = true, boolean $redirect = false, boolean $domain = false) : string
URL组装 支持不同URL模式
string | $url | URL表达式,格式:'[分组/模块/操作#锚点@域名]?参数1=值1&参数2=值2...' |
string|array | $vars | 传入的参数,支持数组和字符串 |
string | $suffix | 伪静态后缀,默认为true表示获取配置值 |
boolean | $redirect | 是否跳转,如果设置为true则表示跳转到该URL地址 |
boolean | $domain | 是否显示域名 |
xml_encode(mixed $data, string $root = 'think', string $item = 'item', string $attr = '', string $id = 'id', string $encoding = 'utf-8') : string
XML编码
mixed | $data | 数据 |
string | $root | 根节点名 |
string | $item | 数字索引的子节点名 |
string | $attr | 根节点属性 |
string | $id | 数字索引子节点key转换的属性名 |
string | $encoding | 数据编码 |