Yet Another Framework
- 简介
- 安装/配置
- 预定义常量
- 示例
- 应用程序配置
- Yaf_Application — Yaf_Application 类
- Yaf_Application::app — 检索 Application 实例
- Yaf_Application::bootstrap — 调用 bootstrap
- Yaf_Application::clearLastError — 清除最后的错误信息
- Yaf_Application::__construct — Yaf_Application 的构造函数
- Yaf_Application::__destruct — __destruct 函数
- Yaf_Application::environ — 检索环境名
- Yaf_Application::execute — 运行回调
- Yaf_Application::getAppDirectory — 获取应用的目录
- Yaf_Application::getConfig — 获取 Yaf_Config_Abstract 的实例
- Yaf_Application::getDispatcher — 获取 Yaf_Dispatcher 的实例
- Yaf_Application::getLastErrorMsg — 获取最近产生的错误的错误信息
- Yaf_Application::getLastErrorNo — 获取最后产生的错误的错误代码
- Yaf_Application::getModules — 获取定义的模块名
- Yaf_Application::run — 运行 Yaf_Application
- Yaf_Application::setAppDirectory — 改变应用目录
- Yaf_Bootstrap_Abstract — Yaf_Bootstrap_Abstract 类
- Yaf_Dispatcher — Yaf_Dispatcher 类
- Yaf_Dispatcher::autoRender — 开启/关闭自动渲染
- Yaf_Dispatcher::catchException — 开启/关闭自动异常捕获
- Yaf_Dispatcher::__construct — Yaf_Dispatcher 构造方法
- Yaf_Dispatcher::disableView — 关闭视图渲染
- Yaf_Dispatcher::dispatch — 分发请求
- Yaf_Dispatcher::enableView — 开启视图渲染
- Yaf_Dispatcher::flushInstantly — 打开/关闭即时刷新
- Yaf_Dispatcher::getApplication — 检索应用程序
- Yaf_Dispatcher::getDefaultAction — Retrive the default action name
- Yaf_Dispatcher::getDefaultController — Retrive the default controller name
- Yaf_Dispatcher::getDefaultModule — Retrive the default module name
- Yaf_Dispatcher::getInstance — 获取当前的Yaf_Dispatcher实例
- Yaf_Dispatcher::getRequest — 检索请求实例
- Yaf_Dispatcher::getRouter — 检索路由实例
- Yaf_Dispatcher::initView — 初始化视图并返回
- Yaf_Dispatcher::registerPlugin — 注册插件
- Yaf_Dispatcher::returnResponse — The returnResponse purpose
- Yaf_Dispatcher::setDefaultAction — 设置默认动作名
- Yaf_Dispatcher::setDefaultController — 设置默认控制器名
- Yaf_Dispatcher::setDefaultModule — 设置默认模块名
- Yaf_Dispatcher::setErrorHandler — 设置错误处理
- Yaf_Dispatcher::setRequest — The setRequest purpose
- Yaf_Dispatcher::setView — 设置自定义视图引擎
- Yaf_Dispatcher::throwException — 开启/关闭异常抛出
- Yaf_Config_Abstract — Yaf_Config_Abstract 类
- Yaf_Config_Abstract::get — Getter
- Yaf_Config_Abstract::readonly — 寻找只读配置
- Yaf_Config_Abstract::set — Setter
- Yaf_Config_Abstract::toArray — 转换为数组
- Yaf_Config_Ini — Yaf_Config_Ini 类
- Yaf_Config_Ini::__construct — Yaf_Config_Ini 构造方法
- Yaf_Config_Ini::count — Yaf_Config.ini 中所有元素的数量
- Yaf_Config_Ini::current — 检索当前值
- Yaf_Config_Ini::__get — 检索元素
- Yaf_Config_Ini::__isset — 检查节点是否存在
- Yaf_Config_Ini::key — 返回当前元素的键
- Yaf_Config_Ini::next — 向前移动到下一个元素
- Yaf_Config_Ini::offsetExists — 检查一个偏移位置是否存在
- Yaf_Config_Ini::offsetGet — 获取一个偏移位置的值
- Yaf_Config_Ini::offsetSet — 设置一个偏移位置的值
- Yaf_Config_Ini::offsetUnset — 复位一个偏移位置的值
- Yaf_Config_Ini::readonly — 检查配置是否只读
- Yaf_Config_Ini::rewind — 检查当前位置是否有效
- Yaf_Config_Ini::__set — The __set purpose
- Yaf_Config_Ini::toArray — 配置作为数组返回
- Yaf_Config_Ini::valid — 检查迭代器是否有效
- Yaf_Config_Simple — Yaf_Config_Simple 类
- Yaf_Config_Simple::__construct — 构造函数
- Yaf_Config_Simple::count — 返回配置的节数量
- Yaf_Config_Simple::current — 返回当前节点
- Yaf_Config_Simple::__get — 读取节点配置
- Yaf_Config_Simple::__isset — 检查节点是否存在
- Yaf_Config_Simple::key — 返回当前元素的键
- Yaf_Config_Simple::next — 向前移动到下一个元素
- Yaf_Config_Simple::offsetExists — 检查一个偏移位置是否存在
- Yaf_Config_Simple::offsetGet — 获取一个偏移位置的值
- Yaf_Config_Simple::offsetSet — 设置一个偏移位置的值
- Yaf_Config_Simple::offsetUnset — 复位一个偏移位置的值
- Yaf_Config_Simple::readonly — 检查配置是否只读
- Yaf_Config_Simple::rewind — 检查当前位置是否有效
- Yaf_Config_Simple::__set — 设置节点配置
- Yaf_Config_Simple::toArray — 返回 PHP 数组
- Yaf_Config_Simple::valid — 检查迭代器是否有效
- Yaf_Controller_Abstract — Yaf_Controller_Abstract 类
- Yaf_Controller_Abstract::__construct — Yaf_Controller_Abstract 构造方法
- Yaf_Controller_Abstract::display — The display purpose
- Yaf_Controller_Abstract::forward — 转发到另一个动作
- Yaf_Controller_Abstract::getInvokeArg — The getInvokeArg purpose
- Yaf_Controller_Abstract::getInvokeArgs — The getInvokeArgs purpose
- Yaf_Controller_Abstract::getModuleName — 获取当前控制器所属的模块名
- Yaf_Controller_Abstract::getName — Get self name
- Yaf_Controller_Abstract::getRequest — 检索当前请求对象
- Yaf_Controller_Abstract::getResponse — 检索当前响应对象
- Yaf_Controller_Abstract::getView — 获取当前的视图引擎
- Yaf_Controller_Abstract::getViewpath — The getViewpath purpose
- Yaf_Controller_Abstract::init — 控制器初始化
- Yaf_Controller_Abstract::initView — The initView purpose
- Yaf_Controller_Abstract::redirect — 重定向到 URL
- Yaf_Controller_Abstract::render — 渲染视图模板
- Yaf_Controller_Abstract::setViewpath — The setViewpath purpose
- Yaf_Action_Abstract — Yaf_Action_Abstract 类
- Yaf_Action_Abstract::execute — 动作入口点
- Yaf_Action_Abstract::getController — 检索控制器对象
- Yaf_Action_Abstract::getControllerName — Get controller name
- Yaf_View_Interface — Yaf_View_Interface 类
- Yaf_View_Interface::assign — 为视图引擎分配模板变量
- Yaf_View_Interface::display — 渲染并输出模板
- Yaf_View_Interface::getScriptPath — The getScriptPath purpose
- Yaf_View_Interface::render — 渲染模板
- Yaf_View_Interface::setScriptPath — The setScriptPath purpose
- Yaf_View_Simple — Yaf_View_Simple 类
- Yaf_View_Simple::assign — 为视图引擎分配一个模板变量
- Yaf_View_Simple::assignRef — The assignRef purpose
- Yaf_View_Simple::clear — 清除分配的值
- Yaf_View_Simple::__construct — Yaf_View_Simple 的构造方法
- Yaf_View_Simple::display — 渲染一个视图模板, 并直接输出给请求端
- Yaf_View_Simple::eval — 渲染模板
- Yaf_View_Simple::__get — 获取视图引擎的一个模板变量值
- Yaf_View_Simple::getScriptPath — 获取模板目录
- Yaf_View_Simple::__isset — The __isset purpose
- Yaf_View_Simple::render — 渲染模板
- Yaf_View_Simple::__set — 为视图引擎分配一个模板变量
- Yaf_View_Simple::setScriptPath — 设置模板的目录
- Yaf_Loader — Yaf_Loader 类
- Yaf_Loader::autoload — The autoload purpose
- Yaf_Loader::clearLocalNamespace — The clearLocalNamespace purpose
- Yaf_Loader::__construct — The __construct purpose
- Yaf_Loader::getInstance — The getInstance purpose
- Yaf_Loader::getLibraryPath — 获取库路径
- Yaf_Loader::getLocalNamespace — The getLocalNamespace purpose
- Yaf_Loader::getNamespacePath — Retieve path of a registered namespace
- Yaf_Loader::getLocalNamespace — Retrive all register namespaces info
- Yaf_Loader::import — The import purpose
- Yaf_Loader::isLocalName — The isLocalName purpose
- Yaf_Loader::registerLocalNamespace — 注册本地类前缀
- Yaf_Loader::registerNamespace — Register namespace with searching path
- Yaf_Loader::setLibraryPath — 改变 library 路径
- Yaf_Plugin_Abstract — Yaf_Plugin_Abstract 类
- Yaf_Plugin_Abstract::dispatchLoopShutdown — The dispatchLoopShutdown purpose
- Yaf_Plugin_Abstract::dispatchLoopStartup — 在调度循环之前的 Hook
- Yaf_Plugin_Abstract::postDispatch — The postDispatch purpose
- Yaf_Plugin_Abstract::preDispatch — The preDispatch purpose
- Yaf_Plugin_Abstract::preResponse — The preResponse purpose
- Yaf_Plugin_Abstract::routerShutdown — The routerShutdown purpose
- Yaf_Plugin_Abstract::routerStartup — RouterStartup hook
- Yaf_Registry — Yaf_Registry 类
- Yaf_Registry::__construct — Yaf_Registry 实现单例
- Yaf_Registry::del — 从注册表中移除条目
- Yaf_Registry::get — 从注册表中检索条目
- Yaf_Registry::has — 检测条目是否存在
- Yaf_Registry::set — 向注册表添加条目
- Yaf_Request_Abstract — Yaf_Request_Abstract 类
- Yaf_Request_Abstract::clearParams — Remove all params
- Yaf_Request_Abstract::getActionName — The getActionName purpose
- Yaf_Request_Abstract::getBaseUri — The getBaseUri purpose
- Yaf_Request_Abstract::getControllerName — The getControllerName purpose
- Yaf_Request_Abstract::getEnv — 检索 ENV 变量
- Yaf_Request_Abstract::getException — The getException purpose
- Yaf_Request_Abstract::getLanguage — 检索客户端的首选语言
- Yaf_Request_Abstract::getMethod — 检索请求方法
- Yaf_Request_Abstract::getModuleName — The getModuleName purpose
- Yaf_Request_Abstract::getParam — 检索调用的参数
- Yaf_Request_Abstract::getParams — 获取所有调用的参数
- Yaf_Request_Abstract::getRequestUri — The getRequestUri purpose
- Yaf_Request_Abstract::getServer — 检索 SERVER 变量
- Yaf_Request_Abstract::isCli — 判断请求是否是 CLI 请求
- Yaf_Request_Abstract::isDispatched — 判断请求是否已发送
- Yaf_Request_Abstract::isGet — 判断请求是否是 GET 请求
- Yaf_Request_Abstract::isHead — 判断请求是否是 HEAD 请求
- Yaf_Request_Abstract::isOptions — 判断请求是否是 OPTIONS 请求
- Yaf_Request_Abstract::isPost — 判断请求是否是 POST 请求
- Yaf_Request_Abstract::isPut — 判断请求是否是 PUT 请求
- Yaf_Request_Abstract::isRouted — 判断请求是否已路由
- Yaf_Request_Abstract::isXmlHttpRequest — 判断请求是否是 AJAX 请求
- Yaf_Request_Abstract::setActionName — 设置 action 名
- Yaf_Request_Abstract::setBaseUri — 设置基础 URI
- Yaf_Request_Abstract::setControllerName — 设置控制器名
- Yaf_Request_Abstract::setDispatched — The setDispatched purpose
- Yaf_Request_Abstract::setModuleName — 设置模块名
- Yaf_Request_Abstract::setParam — 设置调用参数到请求
- Yaf_Request_Abstract::setRequestUri — The setRequestUri purpose
- Yaf_Request_Abstract::setRouted — The setRouted purpose
- Yaf_Request_Http — The Yaf_Request_Http class
- Yaf_Request_Http::__construct — Yaf_Request_Http 构造方法
- Yaf_Request_Http::get — 从客户端检索变量
- Yaf_Request_Http::getCookie — 检索 Cookie 变量
- Yaf_Request_Http::getFiles — The getFiles purpose
- Yaf_Request_Http::getPost — 检索 POST 变量
- Yaf_Request_Http::getQuery — 获取 query 参数
- Yaf_Request_Http::getRaw — Retrieve Raw request body
- Yaf_Request_Http::getRequest — The getRequest purpose
- Yaf_Request_Http::isXmlHttpRequest — 是否为Ajax请求
- Yaf_Request_Simple — Yaf_Request_Simple 类
- Yaf_Request_Simple::__construct — Yaf_Request_Simple 构造方法
- Yaf_Request_Simple::get — The get purpose
- Yaf_Request_Simple::getCookie — The getCookie purpose
- Yaf_Request_Simple::getFiles — The getFiles purpose
- Yaf_Request_Simple::getPost — The getPost purpose
- Yaf_Request_Simple::getQuery — The getQuery purpose
- Yaf_Request_Simple::getRequest — The getRequest purpose
- Yaf_Request_Simple::isXmlHttpRequest — 判断请求是否是 Ajax 请求
- Yaf_Response_Abstract — Yaf_Response_Abstract 类
- Yaf_Response_Abstract::appendBody — 向响应 body 追加内容
- Yaf_Response_Abstract::clearBody — 丢弃所有已存在的响应 body
- Yaf_Response_Abstract::clearHeaders — 丢弃所有设置的 header
- Yaf_Response_Abstract::__construct — The __construct purpose
- Yaf_Response_Abstract::__destruct — The __destruct purpose
- Yaf_Response_Abstract::getBody — 获取已存在的内容
- Yaf_Response_Abstract::getHeader — The getHeader purpose
- Yaf_Response_Abstract::prependBody — The prependBody purpose
- Yaf_Response_Abstract::response — 发送响应
- Yaf_Response_Abstract::setAllHeaders — The setAllHeaders purpose
- Yaf_Response_Abstract::setBody — 设置内容到响应
- Yaf_Response_Abstract::setHeader — 设置响应 header
- Yaf_Response_Abstract::setRedirect — The setRedirect purpose
- Yaf_Response_Abstract::__toString — 获取字符串形式的所有 body
- Yaf_Route_Interface — Yaf_Route_Interface 类
- Yaf_Route_Interface::assemble — 将指定路由规则组合成一个 url
- Yaf_Route_Interface::route — 路由请求
- Yaf_Route_Map — Yaf_Route_Map 类
- Yaf_Route_Map::assemble — 组合url
- Yaf_Route_Map::__construct — The __construct purpose
- Yaf_Route_Map::route — The route purpose
- Yaf_Route_Regex — Yaf_Route_Regex 类
- Yaf_Route_Regex::assemble — 组合 url
- Yaf_Route_Regex::__construct — Yaf_Route_Regex 构造方法
- Yaf_Route_Regex::route — The route purpose
- Yaf_Route_Rewrite — Yaf_Route_Rewrite 类
- Yaf_Route_Rewrite::assemble — 组合 url
- Yaf_Route_Rewrite::__construct — Yaf_Route_Rewrite 构造方法
- Yaf_Route_Rewrite::route — The route purpose
- Yaf_Router — Yaf_Router 类
- Yaf_Router::addConfig — 向 Router 中添加配置文件中定义的路由
- Yaf_Router::addRoute — 往 Router 中添加新的路由
- Yaf_Router::__construct — Yaf_Router 构造方法
- Yaf_Router::getCurrentRoute — 取得当前有效的路由名
- Yaf_Router::getRoute — 通过名称检索路由
- Yaf_Router::getRoutes — 检索已注册的路由
- Yaf_Router::route — The route purpose
- Yaf_Route_Simple — Yaf_Route_Simple 类
- Yaf_Route_Simple::assemble — 组合url
- Yaf_Route_Simple::__construct — Yaf_Route_Simple 构造方法
- Yaf_Route_Simple::route — 路由请求
- Yaf_Route_Static — Yaf_Route_Static 类
- Yaf_Route_Static::assemble — 组合 url
- Yaf_Route_Static::match — The match purpose
- Yaf_Route_Static::route — 路由请求
- Yaf_Route_Supervar — Yaf_Route_Supervar 类
- Yaf_Route_Supervar::assemble — 组合 url
- Yaf_Route_Supervar::__construct — The __construct purpose
- Yaf_Route_Supervar::route — The route purpose
- Yaf_Session — Yaf_Session 类
- Yaf_Session::__construct — Yaf_Session 构造方法
- Yaf_Session::count — The count purpose
- Yaf_Session::current — The current purpose
- Yaf_Session::del — The del purpose
- Yaf_Session::__get — The __get purpose
- Yaf_Session::getInstance — The getInstance purpose
- Yaf_Session::has — The has purpose
- Yaf_Session::__isset — The __isset purpose
- Yaf_Session::key — The key purpose
- Yaf_Session::next — The next purpose
- Yaf_Session::offsetExists — The offsetExists purpose
- Yaf_Session::offsetGet — The offsetGet purpose
- Yaf_Session::offsetSet — The offsetSet purpose
- Yaf_Session::offsetUnset — The offsetUnset purpose
- Yaf_Session::rewind — The rewind purpose
- Yaf_Session::__set — The __set purpose
- Yaf_Session::start — The start purpose
- Yaf_Session::__unset — The __unset purpose
- Yaf_Session::valid — The valid purpose
- Yaf_Exception — Yaf_Exception 类
- Yaf_Exception::__construct — The __construct purpose
- Yaf_Exception::getPrevious — The getPrevious purpose
- Yaf_Exception_TypeError — Yaf_Exception_TypeError 类
- Yaf_Exception_StartupError — Yaf_Exception_StartupError 类
- Yaf_Exception_DispatchFailed — Yaf_Exception_DispatchFailed 类
- Yaf_Exception_RouterFailed — Yaf_Exception_RouterFailed 类
- Yaf_Exception_LoadFailed — Yaf_Exception_LoadFailed 类
- Yaf_Exception_LoadFailed_Module — Yaf_Exception_LoadFailed_Module 类
- Yaf_Exception_LoadFailed_Controller — Yaf_Exception_LoadFailed_Controller 类
- Yaf_Exception_LoadFailed_Action — Yaf_Exception_LoadFailed_Action 类
- Yaf_Exception_LoadFailed_View — Yaf_Exception_LoadFailed_View 类
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。