\

Interfaces

PhalApi_Cache Cache Interface
PhalApi_Config Config Interface
PhalApi_Crypt Crypt Interface
PhalApi_DB Database Interface
PhalApi_Filter Filter Class
PhalApi_Model Model Class
PhalApi_Request_Formatter PhalApi_Request_Formatter 格式化接口

Classes

PhalApi_Api PhalApi Api Class
PhalApi_ApiFactory Api Factory Class
PhalApi_Cache_APCU PhalApi_Cache_APCU APC User Cache
PhalApi_Cache_File PhalApi_Cache_File 文件缓存
PhalApi_Cache_Memcache PhalApi_Cache_Memecahce MC缓存
PhalApi_Cache_Memcached PhalApi_Cache_Memcached MC缓存
PhalApi_Cache_Multi PhalApi_Cache_Multi 组合模式下的多级缓存
PhalApi_Cache_None PhalApi_Cache_None 空缓存 - NULL-Object空对象模式
PhalApi_Cache_Redis PhalApi_Cache_Redis Redis缓存
PhalApi_Config_File PhalApi_Config_File 文件配置类
PhalApi_Config_Yaconf PhalApi_Config_Yaconf Yaconf扩展配置类
PhalApi_Cookie Cookie Operation
PhalApi_Cookie_Multi PhalApi_Cookie_Multi 多级COOKIE
PhalApi_Crypt_Mcrypt PhalApi_Crypt_Mcrypt 原始mcrypt加密
PhalApi_Crypt_MultiMcrypt PhalApi_Crypt_MultiMcrypt 多级mcrypt加密 对底层的mcrypt进行简单的再封装,以便存储和保留类型
PhalApi_Crypt_RSA_KeyGenerator PhalApi_Crypt_RSA_KeyGenerator 生成器
PhalApi_Crypt_RSA_MultiBase PhalApi_Crypt_RSA_MultiBase RSA加密层超类
PhalApi_Crypt_RSA_MultiPri2Pub PhalApi_Crypt_RSA_MultiPri2Pub 超长RSA加密
PhalApi_Crypt_RSA_MultiPub2Pri PhalApi_Crypt_RSA_MultiPub2Pri 超长RSA加密
PhalApi_Crypt_RSA_Pri2Pub PhalApi_Crypt_RSA_Pri2Pub RSA原始加密
PhalApi_Crypt_RSA_Pub2Pri PhalApi_Crypt_RSA_Pub2Pri 原始RSA加密
PhalApi_CUrl CUrl Request Class
PhalApi_DB_NotORM PhalApi_DB_NotORM 分布式的DB存储
PhalApi_DI Dependence Injection Class
PhalApi_Exception Custom Exception Class
PhalApi_Exception_BadRequest PhalApi_Exception_BadRequest 客户端非法请求
PhalApi_Exception_InternalServerError PhalApi_Exception_InternalServerError 服务器运行异常错误
PhalApi_Filter_None PhalApi_Filter_None 无作为的拦截器
PhalApi_Filter_SimpleMD5 PhalApi_Filter_SimpleMD5 简单的MD5拦截器
PhalApi_Helper_ApiDesc PhalApi_Helper_ApiDesc - Online API Detail Document - Helper
PhalApi_Helper_TestRunner PhalApi_Helper_TestRunner - 快速接口执行 - 辅助类
PhalApi_Helper_Tracer PhalApi_Helper_Tracer 全球追踪器类
PhalApi_Loader Loader Class
PhalApi_Logger Logger Class
PhalApi_Logger_Explorer PhalApi_Logger_Explorer 直接输出日记到控制台的日记类
PhalApi_Logger_File PhalApi_Logger_File 文件日记纪录类
PhalApi_Model_NotORM PhalApi_Model_NotORM 基于NotORM的Model基类
PhalApi_ModelProxy Model Proxy Class, Solution To Deal With Heaviy Data
PhalApi_ModelQuery Model Query Class
PhalApi_Request Request Class
PhalApi_Request_Formatter_Array PhalApi_Request_Formatter_Array 格式化数组
PhalApi_Request_Formatter_Base PhalApi_Request_Formatter_Base 公共基类
PhalApi_Request_Formatter_Boolean PhalApi_Request_Formatter_Boolean 格式化布尔值
PhalApi_Request_Formatter_Callable PhalApi_Request_Formatter_Callable 格式化回调类型
PhalApi_Request_Formatter_Callback PhalApi_Request_Formatter_Callback 回调类型
PhalApi_Request_Formatter_Date PhalApi_Request_Formatter_Date 格式化日期
PhalApi_Request_Formatter_Enum PhalApi_Request_Formatter_Enum 格式化枚举类型
PhalApi_Request_Formatter_File PhalApi_Request_Formatter_File 格式化上传文件
PhalApi_Request_Formatter_Float PhalApi_Request_Formatter_Float 格式化浮点类型
PhalApi_Request_Formatter_Int PhalApi_Request_Formatter_Int 格式化整型
PhalApi_Request_Formatter_String PhalApi_Request_Formatter_String 格式化字符串
PhalApi_Request_Var PhalApi_Request_Var 变量格式化类
PhalApi_Response Response Class
PhalApi_Response_Explorer PhalApi_Response_Explorer 控制台响应类
PhalApi_Response_Json PhalApi_Response_Json JSON响应类
PhalApi_Response_JsonP PhalApi_Response_JsonP JSON响应类
PhalApi_Tool Tool Class
PhalApi_Translator Translator Class

Functions

DI()

DI() : \PhalApi_DI

Get DI singleton

It is equals to PhalApi_DI::one()

Returns

\PhalApi_DI

SL()

SL(string  $language) 

Setting language

SL is short for setLanguage

Parameters

string $language

the folder name of translation package

T()

T(string  $msg, array  $params = array()) 

Fast Translation

It is equals to PhalApi_Translator::get($msg, $params)

Parameters

string $msg

the content to be translated

array $params

dynamic params