AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# Yaf 一个用来开发web应用的php框架 <https://pecl.php.net/package/yaf> - [预定义常量](https://www.php.net/manual/zh/yaf.constants.php) - [范例](https://www.php.net/manual/zh/yaf.tutorials.php) - [应用配置](https://www.php.net/manual/zh/yaf.appconfig.php) - [Yaf\_Application](https://www.php.net/manual/zh/class.yaf-application.php)— The Yaf\_Application class - [Yaf\_Application::app](https://www.php.net/manual/zh/yaf-application.app.php)— 获取当前的Yaf\_Application实例 - [Yaf\_Application::bootstrap](https://www.php.net/manual/zh/yaf-application.bootstrap.php)— 调用bootstrap - [Yaf\_Application::clearLastError](https://www.php.net/manual/zh/yaf-application.clearlasterror.php)— 清除最后的错误信息 - [Yaf\_Application::\_\_construct](https://www.php.net/manual/zh/yaf-application.construct.php)— Yaf\_Application的构造函数 - [Yaf\_Application::\_\_destruct](https://www.php.net/manual/zh/yaf-application.destruct.php)— 析构函数 - [Yaf\_Application::environ](https://www.php.net/manual/zh/yaf-application.environ.php)— 获取当前Yaf\_Application的环境名 - [Yaf\_Application::execute](https://www.php.net/manual/zh/yaf-application.execute.php)— 运行回调函数 - [Yaf\_Application::getAppDirectory](https://www.php.net/manual/zh/yaf-application.getappdirectory.php)— 获取应用的目录 - [Yaf\_Application::getConfig](https://www.php.net/manual/zh/yaf-application.getconfig.php)— 获取 Yaf\_Config\_Abstract 的实例 - [Yaf\_Application::getDispatcher](https://www.php.net/manual/zh/yaf-application.getdispatcher.php)— 获取 Yaf\_Dispatcher 的实例 - [Yaf\_Application::getLastErrorMsg](https://www.php.net/manual/zh/yaf-application.getlasterrormsg.php)— 获取最近产生的错误的错误信息 - [Yaf\_Application::getLastErrorNo](https://www.php.net/manual/zh/yaf-application.getlasterrorno.php)— 获取最后产生的错误的错误代码 - [Yaf\_Application::getModules](https://www.php.net/manual/zh/yaf-application.getmodules.php)— 获取在配置文件中申明的模块 - [Yaf\_Application::run](https://www.php.net/manual/zh/yaf-application.run.php)— 运行 Yaf\_Application - [Yaf\_Application::setAppDirectory](https://www.php.net/manual/zh/yaf-application.setappdirectory.php)— 改变应用目录 - [Yaf\_Bootstrap\_Abstract](https://www.php.net/manual/zh/class.yaf-bootstrap-abstract.php)— The Yaf\_Bootstrap\_Abstract class - [Yaf\_Dispatcher](https://www.php.net/manual/zh/class.yaf-dispatcher.php)— Yaf\_Dispatcher 类 - [Yaf\_Dispatcher::autoRender](https://www.php.net/manual/zh/yaf-dispatcher.autorender.php)— 开启/关闭自动渲染功能 - [Yaf\_Dispatcher::catchException](https://www.php.net/manual/zh/yaf-dispatcher.catchexception.php)— 开启/关闭自动异常捕获功能 - [Yaf\_Dispatcher::\_\_construct](https://www.php.net/manual/zh/yaf-dispatcher.construct.php)— Yaf\_Dispatcher 构造函数 - [Yaf\_Dispatcher::disableView](https://www.php.net/manual/zh/yaf-dispatcher.disableview.php)— 关闭自动渲染 - [Yaf\_Dispatcher::dispatch](https://www.php.net/manual/zh/yaf-dispatcher.dispatch.php)— 分发请求 - [Yaf\_Dispatcher::enableView](https://www.php.net/manual/zh/yaf-dispatcher.enableview.php)— 开启自动渲染 - [Yaf\_Dispatcher::flushInstantly](https://www.php.net/manual/zh/yaf-dispatcher.flushinstantly.php)— 打开关闭自动响应 - [Yaf\_Dispatcher::getApplication](https://www.php.net/manual/zh/yaf-dispatcher.getapplication.php)— 获取当前的Yaf\_Application实例 - [Yaf\_Dispatcher::getDefaultAction](https://www.php.net/manual/zh/yaf-dispatcher.getdefaultaction.php)— Retrive the default action name - [Yaf\_Dispatcher::getDefaultController](https://www.php.net/manual/zh/yaf-dispatcher.getdefaultcontroller.php)— Retrive the default controller name - [Yaf\_Dispatcher::getDefaultModule](https://www.php.net/manual/zh/yaf-dispatcher.getdefaultmodule.php)— Retrive the default module name - [Yaf\_Dispatcher::getInstance](https://www.php.net/manual/zh/yaf-dispatcher.getinstance.php)— 获取当前的Yaf\_Dispatcher实例 - [Yaf\_Dispatcher::getRequest](https://www.php.net/manual/zh/yaf-dispatcher.getrequest.php)— 获取当前的请求实例 - [Yaf\_Dispatcher::getRouter](https://www.php.net/manual/zh/yaf-dispatcher.getrouter.php)— 获取路由器 - [Yaf\_Dispatcher::initView](https://www.php.net/manual/zh/yaf-dispatcher.initview.php)— 初始化视图引擎并返回它 - [Yaf\_Dispatcher::registerPlugin](https://www.php.net/manual/zh/yaf-dispatcher.registerplugin.php)— 注册一个插件 - [Yaf\_Dispatcher::returnResponse](https://www.php.net/manual/zh/yaf-dispatcher.returnresponse.php)— The returnResponse purpose - [Yaf\_Dispatcher::setDefaultAction](https://www.php.net/manual/zh/yaf-dispatcher.setdefaultaction.php)— 设置路由的默认动作 - [Yaf\_Dispatcher::setDefaultController](https://www.php.net/manual/zh/yaf-dispatcher.setdefaultcontroller.php)— 设置路由的默认控制器 - [Yaf\_Dispatcher::setDefaultModule](https://www.php.net/manual/zh/yaf-dispatcher.setdefaultmodule.php)— 设置路由的默认模块 - [Yaf\_Dispatcher::setErrorHandler](https://www.php.net/manual/zh/yaf-dispatcher.seterrorhandler.php)— 设置错误处理函数 - [Yaf\_Dispatcher::setRequest](https://www.php.net/manual/zh/yaf-dispatcher.setrequest.php)— The setRequest purpose - [Yaf\_Dispatcher::setView](https://www.php.net/manual/zh/yaf-dispatcher.setview.php)— 设置视图引擎 - [Yaf\_Dispatcher::throwException](https://www.php.net/manual/zh/yaf-dispatcher.throwexception.php)— 开启/关闭异常抛出 - [Yaf\_Config\_Abstract](https://www.php.net/manual/zh/class.yaf-config-abstract.php)— The Yaf\_Config\_Abstract class - [Yaf\_Config\_Abstract::get](https://www.php.net/manual/zh/yaf-config-abstract.get.php)— Getter - [Yaf\_Config\_Abstract::readonly](https://www.php.net/manual/zh/yaf-config-abstract.readonly.php)— 寻找只读配置 - [Yaf\_Config\_Abstract::set](https://www.php.net/manual/zh/yaf-config-abstract.set.php)— Setter - [Yaf\_Config\_Abstract::toArray](https://www.php.net/manual/zh/yaf-config-abstract.toarray.php)— 转换为数组 - [Yaf\_Config\_Ini](https://www.php.net/manual/zh/class.yaf-config-ini.php)— The Yaf\_Config\_Ini class - [Yaf\_Config\_Ini::\_\_construct](https://www.php.net/manual/zh/yaf-config-ini.construct.php)— 构造函数 - [Yaf\_Config\_Ini::count](https://www.php.net/manual/zh/yaf-config-ini.count.php)— 返回配置的节数量 - [Yaf\_Config\_Ini::current](https://www.php.net/manual/zh/yaf-config-ini.current.php)— 返回当前节点 - [Yaf\_Config\_Ini::\_\_get](https://www.php.net/manual/zh/yaf-config-ini.get.php)— 读取节点配置 - [Yaf\_Config\_Ini::\_\_isset](https://www.php.net/manual/zh/yaf-config-ini.isset.php)— 检查节点是否存在 - [Yaf\_Config\_Ini::key](https://www.php.net/manual/zh/yaf-config-ini.key.php)— 返回当前元素的键 - [Yaf\_Config\_Ini::next](https://www.php.net/manual/zh/yaf-config-ini.next.php)— 向前移动到下一个元素 - [Yaf\_Config\_Ini::offsetExists](https://www.php.net/manual/zh/yaf-config-ini.offsetexists.php)— 检查一个偏移位置是否存在 - [Yaf\_Config\_Ini::offsetGet](https://www.php.net/manual/zh/yaf-config-ini.offsetget.php)— 获取一个偏移位置的值 - [Yaf\_Config\_Ini::offsetSet](https://www.php.net/manual/zh/yaf-config-ini.offsetset.php)— 设置一个偏移位置的值 - [Yaf\_Config\_Ini::offsetUnset](https://www.php.net/manual/zh/yaf-config-ini.offsetunset.php)— 复位一个偏移位置的值 - [Yaf\_Config\_Ini::readonly](https://www.php.net/manual/zh/yaf-config-ini.readonly.php)— 检查配置是否只读 - [Yaf\_Config\_Ini::rewind](https://www.php.net/manual/zh/yaf-config-ini.rewind.php)— 检查当前位置是否有效 - [Yaf\_Config\_Ini::\_\_set](https://www.php.net/manual/zh/yaf-config-ini.set.php)— The \_\_set purpose - [Yaf\_Config\_Ini::toArray](https://www.php.net/manual/zh/yaf-config-ini.toarray.php)— 转换为数组的格式 - [Yaf\_Config\_Ini::valid](https://www.php.net/manual/zh/yaf-config-ini.valid.php)— 检查迭代器是否有效 - [Yaf\_Config\_Simple](https://www.php.net/manual/zh/class.yaf-config-simple.php)— The Yaf\_Config\_Simple class - [Yaf\_Config\_Simple::\_\_construct](https://www.php.net/manual/zh/yaf-config-simple.construct.php)— 构造函数 - [Yaf\_Config\_Simple::count](https://www.php.net/manual/zh/yaf-config-simple.count.php)— 返回配置的节数量 - [Yaf\_Config\_Simple::current](https://www.php.net/manual/zh/yaf-config-simple.current.php)— 返回当前节点 - [Yaf\_Config\_Simple::\_\_get](https://www.php.net/manual/zh/yaf-config-simple.get.php)— 读取节点配置 - [Yaf\_Config\_Simple::\_\_isset](https://www.php.net/manual/zh/yaf-config-simple.isset.php)— 检查节点是否存在 - [Yaf\_Config\_Simple::key](https://www.php.net/manual/zh/yaf-config-simple.key.php)— 返回当前元素的键 - [Yaf\_Config\_Simple::next](https://www.php.net/manual/zh/yaf-config-simple.next.php)— 向前移动到下一个元素 - [Yaf\_Config\_Simple::offsetExists](https://www.php.net/manual/zh/yaf-config-simple.offsetexists.php)— 检查一个偏移位置是否存在 - [Yaf\_Config\_Simple::offsetGet](https://www.php.net/manual/zh/yaf-config-simple.offsetget.php)— 获取一个偏移位置的值 - [Yaf\_Config\_Simple::offsetSet](https://www.php.net/manual/zh/yaf-config-simple.offsetset.php)— 设置一个偏移位置的值 - [Yaf\_Config\_Simple::offsetUnset](https://www.php.net/manual/zh/yaf-config-simple.offsetunset.php)— 复位一个偏移位置的值 - [Yaf\_Config\_Simple::readonly](https://www.php.net/manual/zh/yaf-config-simple.readonly.php)— 检查配置是否只读 - [Yaf\_Config\_Simple::rewind](https://www.php.net/manual/zh/yaf-config-simple.rewind.php)— 检查当前位置是否有效 - [Yaf\_Config\_Simple::\_\_set](https://www.php.net/manual/zh/yaf-config-simple.set.php)— 设置节点配置 - [Yaf\_Config\_Simple::toArray](https://www.php.net/manual/zh/yaf-config-simple.toarray.php)— 转换为数组的格式 - [Yaf\_Config\_Simple::valid](https://www.php.net/manual/zh/yaf-config-simple.valid.php)— 检查迭代器是否有效 - [Yaf\_Controller\_Abstract](https://www.php.net/manual/zh/class.yaf-controller-abstract.php)— The Yaf\_Controller\_Abstract class - [Yaf\_Controller\_Abstract::\_\_construct](https://www.php.net/manual/zh/yaf-controller-abstract.construct.php)— Yaf\_Controller\_Abstract constructor - [Yaf\_Controller\_Abstract::display](https://www.php.net/manual/zh/yaf-controller-abstract.display.php)— The display purpose - [Yaf\_Controller\_Abstract::forward](https://www.php.net/manual/zh/yaf-controller-abstract.forward.php)— The forward purpose - [Yaf\_Controller\_Abstract::getInvokeArg](https://www.php.net/manual/zh/yaf-controller-abstract.getinvokearg.php)— The getInvokeArg purpose - [Yaf\_Controller\_Abstract::getInvokeArgs](https://www.php.net/manual/zh/yaf-controller-abstract.getinvokeargs.php)— The getInvokeArgs purpose - [Yaf\_Controller\_Abstract::getModuleName](https://www.php.net/manual/zh/yaf-controller-abstract.getmodulename.php)— 获取当前控制器所属的模块名 - [Yaf\_Controller\_Abstract::getName](https://www.php.net/manual/zh/yaf-controller-abstract.getname.php)— Get self name - [Yaf\_Controller\_Abstract::getRequest](https://www.php.net/manual/zh/yaf-controller-abstract.getrequest.php)— The getRequest purpose - [Yaf\_Controller\_Abstract::getResponse](https://www.php.net/manual/zh/yaf-controller-abstract.getresponse.php)— The getResponse purpose - [Yaf\_Controller\_Abstract::getView](https://www.php.net/manual/zh/yaf-controller-abstract.getview.php)— 获取当前的视图引擎 - [Yaf\_Controller\_Abstract::getViewpath](https://www.php.net/manual/zh/yaf-controller-abstract.getviewpath.php)— The getViewpath purpose - [Yaf\_Controller\_Abstract::init](https://www.php.net/manual/zh/yaf-controller-abstract.init.php)— 控制器初始化 - [Yaf\_Controller\_Abstract::initView](https://www.php.net/manual/zh/yaf-controller-abstract.initview.php)— The initView purpose - [Yaf\_Controller\_Abstract::redirect](https://www.php.net/manual/zh/yaf-controller-abstract.redirect.php)— The redirect purpose - [Yaf\_Controller\_Abstract::render](https://www.php.net/manual/zh/yaf-controller-abstract.render.php)— 渲染视图模板 - [Yaf\_Controller\_Abstract::setViewpath](https://www.php.net/manual/zh/yaf-controller-abstract.setviewpath.php)— The setViewpath purpose - [Yaf\_Action\_Abstract](https://www.php.net/manual/zh/class.yaf-action-abstract.php)— The Yaf\_Action\_Abstract class - [Yaf\_Action\_Abstract::execute](https://www.php.net/manual/zh/yaf-action-abstract.execute.php)— 执行动作 - [Yaf\_Action\_Abstract::getController](https://www.php.net/manual/zh/yaf-action-abstract.getcontroller.php)— 得到控制器实例 - [Yaf\_Action\_Abstract::getControllerName](https://www.php.net/manual/zh/yaf-controller-abstract.getcontrollername.php)— Get controller name - [Yaf\_View\_Interface](https://www.php.net/manual/zh/class.yaf-view-interface.php)— The Yaf\_View\_Interface class - [Yaf\_View\_Interface::assign](https://www.php.net/manual/zh/yaf-view-interface.assign.php)— 为视图引擎分配一个模板变量 - [Yaf\_View\_Interface::display](https://www.php.net/manual/zh/yaf-view-interface.display.php)— 渲染一个视图模板, 并直接输出给请求端 - [Yaf\_View\_Interface::getScriptPath](https://www.php.net/manual/zh/yaf-view-interface.getscriptpath.php)— The getScriptPath purpose - [Yaf\_View\_Interface::render](https://www.php.net/manual/zh/yaf-view-interface.render.php)— 渲染一个视图模板 - [Yaf\_View\_Interface::setScriptPath](https://www.php.net/manual/zh/yaf-view-interface.setscriptpath.php)— The setScriptPath purpose - [Yaf\_View\_Simple](https://www.php.net/manual/zh/class.yaf-view-simple.php)— The Yaf\_View\_Simple Class - [Yaf\_View\_Simple::assign](https://www.php.net/manual/zh/yaf-view-simple.assign.php)— 为视图引擎分配一个模板变量 - [Yaf\_View\_Simple::assignRef](https://www.php.net/manual/zh/yaf-view-simple.assignref.php)— The assignRef purpose - [Yaf\_View\_Simple::clear](https://www.php.net/manual/zh/yaf-view-simple.clear.php)— Clear Assigned values - [Yaf\_View\_Simple::\_\_construct](https://www.php.net/manual/zh/yaf-view-simple.construct.php)— Constructor of Yaf\_View\_Simple - [Yaf\_View\_Simple::display](https://www.php.net/manual/zh/yaf-view-simple.display.php)— 渲染一个视图模板, 并直接输出给请求端 - [Yaf\_View\_Simple::eval](https://www.php.net/manual/zh/yaf-view-simple.eval.php)— 渲染模板 - [Yaf\_View\_Simple::\_\_get](https://www.php.net/manual/zh/yaf-view-simple.get.php)— 获取视图引擎的一个模板变量值 - [Yaf\_View\_Simple::getScriptPath](https://www.php.net/manual/zh/yaf-view-simple.getscriptpath.php)— 获取模板目录 - [Yaf\_View\_Simple::\_\_isset](https://www.php.net/manual/zh/yaf-view-simple.isset.php)— The \_\_isset purpose - [Yaf\_View\_Simple::render](https://www.php.net/manual/zh/yaf-view-simple.render.php)— 渲染模板 - [Yaf\_View\_Simple::\_\_set](https://www.php.net/manual/zh/yaf-view-simple.set.php)— 为视图引擎分配一个模板变量 - [Yaf\_View\_Simple::setScriptPath](https://www.php.net/manual/zh/yaf-view-simple.setscriptpath.php)— 设置模板的目录 - [Yaf\_Loader](https://www.php.net/manual/zh/class.yaf-loader.php)— The Yaf\_Loader class - [Yaf\_Loader::autoload](https://www.php.net/manual/zh/yaf-loader.autoload.php)— The autoload purpose - [Yaf\_Loader::clearLocalNamespace](https://www.php.net/manual/zh/yaf-loader.clearlocalnamespace.php)— The clearLocalNamespace purpose - [Yaf\_Loader::\_\_construct](https://www.php.net/manual/zh/yaf-loader.construct.php)— The \_\_construct purpose - [Yaf\_Loader::getInstance](https://www.php.net/manual/zh/yaf-loader.getinstance.php)— The getInstance purpose - [Yaf\_Loader::getLibraryPath](https://www.php.net/manual/zh/yaf-loader.getlibrarypath.php)— get the library path - [Yaf\_Loader::getLocalNamespace](https://www.php.net/manual/zh/yaf-loader.getlocalnamespace.php)— The getLocalNamespace purpose - [Yaf\_Loader::getNamespacePath](https://www.php.net/manual/zh/yaf-loader.getnamespacepath.php)— Retieve path of a registered namespace - [Yaf\_Loader::getLocalNamespace](https://www.php.net/manual/zh/yaf-loader.getnamespaces.php)— Retrive all register namespaces info - [Yaf\_Loader::import](https://www.php.net/manual/zh/yaf-loader.import.php)— The import purpose - [Yaf\_Loader::isLocalName](https://www.php.net/manual/zh/yaf-loader.islocalname.php)— The isLocalName purpose - [Yaf\_Loader::registerLocalNamespace](https://www.php.net/manual/zh/yaf-loader.registerlocalnamespace.php)— 注册本地类前缀 - [Yaf\_Loader::registerNamespace](https://www.php.net/manual/zh/yaf-loader.registernamespace.php)— Register namespace with searching path - [Yaf\_Loader::setLibraryPath](https://www.php.net/manual/zh/yaf-loader.setlibrarypath.php)— 改变library路径 - [Yaf\_Plugin\_Abstract](https://www.php.net/manual/zh/class.yaf-plugin-abstract.php)— The Yaf\_Plugin\_Abstract class - [Yaf\_Plugin\_Abstract::dispatchLoopShutdown](https://www.php.net/manual/zh/yaf-plugin-abstract.dispatchloopshutdown.php)— The dispatchLoopShutdown purpose - [Yaf\_Plugin\_Abstract::dispatchLoopStartup](https://www.php.net/manual/zh/yaf-plugin-abstract.dispatchloopstartup.php)— The dispatchLoopStartup purpose - [Yaf\_Plugin\_Abstract::postDispatch](https://www.php.net/manual/zh/yaf-plugin-abstract.postdispatch.php)— The postDispatch purpose - [Yaf\_Plugin\_Abstract::preDispatch](https://www.php.net/manual/zh/yaf-plugin-abstract.predispatch.php)— The preDispatch purpose - [Yaf\_Plugin\_Abstract::preResponse](https://www.php.net/manual/zh/yaf-plugin-abstract.preresponse.php)— The preResponse purpose - [Yaf\_Plugin\_Abstract::routerShutdown](https://www.php.net/manual/zh/yaf-plugin-abstract.routershutdown.php)— The routerShutdown purpose - [Yaf\_Plugin\_Abstract::routerStartup](https://www.php.net/manual/zh/yaf-plugin-abstract.routerstartup.php)— RouterStartup hook - [Yaf\_Registry](https://www.php.net/manual/zh/class.yaf-registry.php)— The Yaf\_Registry class - [Yaf\_Registry::\_\_construct](https://www.php.net/manual/zh/yaf-registry.construct.php)— Yaf\_Registry implements singleton - [Yaf\_Registry::del](https://www.php.net/manual/zh/yaf-registry.del.php)— Remove an item from registry - [Yaf\_Registry::get](https://www.php.net/manual/zh/yaf-registry.get.php)— Retrieve an item from registry - [Yaf\_Registry::has](https://www.php.net/manual/zh/yaf-registry.has.php)— Check whether an item exists - [Yaf\_Registry::set](https://www.php.net/manual/zh/yaf-registry.set.php)— Add an item into registry - [Yaf\_Request\_Abstract](https://www.php.net/manual/zh/class.yaf-request-abstract.php)— The Yaf\_Request\_Abstract class - [Yaf\_Request\_Abstract::clearParams](https://www.php.net/manual/zh/yaf-request-abstract.clearparams.php)— Remove all params - [Yaf\_Request\_Abstract::getActionName](https://www.php.net/manual/zh/yaf-request-abstract.getactionname.php)— The getActionName purpose - [Yaf\_Request\_Abstract::getBaseUri](https://www.php.net/manual/zh/yaf-request-abstract.getbaseuri.php)— The getBaseUri purpose - [Yaf\_Request\_Abstract::getControllerName](https://www.php.net/manual/zh/yaf-request-abstract.getcontrollername.php)— The getControllerName purpose - [Yaf\_Request\_Abstract::getEnv](https://www.php.net/manual/zh/yaf-request-abstract.getenv.php)— 取得ENV变量的值 - [Yaf\_Request\_Abstract::getException](https://www.php.net/manual/zh/yaf-request-abstract.getexception.php)— The getException purpose - [Yaf\_Request\_Abstract::getLanguage](https://www.php.net/manual/zh/yaf-request-abstract.getlanguage.php)— The getLanguage purpose - [Yaf\_Request\_Abstract::getMethod](https://www.php.net/manual/zh/yaf-request-abstract.getmethod.php)— The getMethod purpose - [Yaf\_Request\_Abstract::getModuleName](https://www.php.net/manual/zh/yaf-request-abstract.getmodulename.php)— The getModuleName purpose - [Yaf\_Request\_Abstract::getParam](https://www.php.net/manual/zh/yaf-request-abstract.getparam.php)— The getParam purpose - [Yaf\_Request\_Abstract::getParams](https://www.php.net/manual/zh/yaf-request-abstract.getparams.php)— The getParams purpose - [Yaf\_Request\_Abstract::getRequestUri](https://www.php.net/manual/zh/yaf-request-abstract.getrequesturi.php)— The getRequestUri purpose - [Yaf\_Request\_Abstract::getServer](https://www.php.net/manual/zh/yaf-request-abstract.getserver.php)— 返回SERVER变量的值 - [Yaf\_Request\_Abstract::isCli](https://www.php.net/manual/zh/yaf-request-abstract.iscli.php)— The isCli purpose - [Yaf\_Request\_Abstract::isDispatched](https://www.php.net/manual/zh/yaf-request-abstract.isdispatched.php)— The isDispatched purpose - [Yaf\_Request\_Abstract::isGet](https://www.php.net/manual/zh/yaf-request-abstract.isget.php)— The isGet purpose - [Yaf\_Request\_Abstract::isHead](https://www.php.net/manual/zh/yaf-request-abstract.ishead.php)— The isHead purpose - [Yaf\_Request\_Abstract::isOptions](https://www.php.net/manual/zh/yaf-request-abstract.isoptions.php)— The isOptions purpose - [Yaf\_Request\_Abstract::isPost](https://www.php.net/manual/zh/yaf-request-abstract.ispost.php)— The isPost purpose - [Yaf\_Request\_Abstract::isPut](https://www.php.net/manual/zh/yaf-request-abstract.isput.php)— The isPut purpose - [Yaf\_Request\_Abstract::isRouted](https://www.php.net/manual/zh/yaf-request-abstract.isrouted.php)— The isRouted purpose - [Yaf\_Request\_Abstract::isXmlHttpRequest](https://www.php.net/manual/zh/yaf-request-abstract.isxmlhttprequest.php)— The isXmlHttpRequest purpose - [Yaf\_Request\_Abstract::setActionName](https://www.php.net/manual/zh/yaf-request-abstract.setactionname.php)— The setActionName purpose - [Yaf\_Request\_Abstract::setBaseUri](https://www.php.net/manual/zh/yaf-request-abstract.setbaseuri.php)— The setBaseUri purpose - [Yaf\_Request\_Abstract::setControllerName](https://www.php.net/manual/zh/yaf-request-abstract.setcontrollername.php)— The setControllerName purpose - [Yaf\_Request\_Abstract::setDispatched](https://www.php.net/manual/zh/yaf-request-abstract.setdispatched.php)— The setDispatched purpose - [Yaf\_Request\_Abstract::setModuleName](https://www.php.net/manual/zh/yaf-request-abstract.setmodulename.php)— The setModuleName purpose - [Yaf\_Request\_Abstract::setParam](https://www.php.net/manual/zh/yaf-request-abstract.setparam.php)— The setParam purpose - [Yaf\_Request\_Abstract::setRequestUri](https://www.php.net/manual/zh/yaf-request-abstract.setrequesturi.php)— The setRequestUri purpose - [Yaf\_Request\_Abstract::setRouted](https://www.php.net/manual/zh/yaf-request-abstract.setrouted.php)— The setRouted purpose - [Yaf\_Request\_Http](https://www.php.net/manual/zh/class.yaf-request-http.php)— The Yaf\_Request\_Http class - [Yaf\_Request\_Http::\_\_construct](https://www.php.net/manual/zh/yaf-request-http.construct.php)— The \_\_construct purpose - [Yaf\_Request\_Http::get](https://www.php.net/manual/zh/yaf-request-http.get.php)— 从客户端返回变量 - [Yaf\_Request\_Http::getCookie](https://www.php.net/manual/zh/yaf-request-http.getcookie.php)— 返回Cookie变量 - [Yaf\_Request\_Http::getFiles](https://www.php.net/manual/zh/yaf-request-http.getfiles.php)— The getFiles purpose - [Yaf\_Request\_Http::getPost](https://www.php.net/manual/zh/yaf-request-http.getpost.php)— 返回POST变量 - [Yaf\_Request\_Http::getQuery](https://www.php.net/manual/zh/yaf-request-http.getquery.php)— fetch a query parameter - [Yaf\_Request\_Http::getRaw](https://www.php.net/manual/zh/yaf-request-http.getraw.php)— Retrieve Raw request body - [Yaf\_Request\_Http::getRequest](https://www.php.net/manual/zh/yaf-request-http.getrequest.php)— The getRequest purpose - [Yaf\_Request\_Http::isXmlHttpRequest](https://www.php.net/manual/zh/yaf-request-http.isxmlhttprequest.php)— 是否为Ajax请求 - [Yaf\_Request\_Simple](https://www.php.net/manual/zh/class.yaf-request-simple.php)— The Yaf\_Request\_Simple class - [Yaf\_Request\_Simple::\_\_construct](https://www.php.net/manual/zh/yaf-request-simple.construct.php)— The \_\_construct purpose - [Yaf\_Request\_Simple::get](https://www.php.net/manual/zh/yaf-request-simple.get.php)— The get purpose - [Yaf\_Request\_Simple::getCookie](https://www.php.net/manual/zh/yaf-request-simple.getcookie.php)— The getCookie purpose - [Yaf\_Request\_Simple::getFiles](https://www.php.net/manual/zh/yaf-request-simple.getfiles.php)— The getFiles purpose - [Yaf\_Request\_Simple::getPost](https://www.php.net/manual/zh/yaf-request-simple.getpost.php)— The getPost purpose - [Yaf\_Request\_Simple::getQuery](https://www.php.net/manual/zh/yaf-request-simple.getquery.php)— The getQuery purpose - [Yaf\_Request\_Simple::getRequest](https://www.php.net/manual/zh/yaf-request-simple.getrequest.php)— The getRequest purpose - [Yaf\_Request\_Simple::isXmlHttpRequest](https://www.php.net/manual/zh/yaf-request-simple.isxmlhttprequest.php)— The isXmlHttpRequest purpose - [Yaf\_Response\_Abstract](https://www.php.net/manual/zh/class.yaf-response-abstract.php)— The Yaf\_Response\_Abstract class - [Yaf\_Response\_Abstract::appendBody](https://www.php.net/manual/zh/yaf-response-abstract.appendbody.php)— 往已有的响应body后附加新的内容 - [Yaf\_Response\_Abstract::clearBody](https://www.php.net/manual/zh/yaf-response-abstract.clearbody.php)— 清除已经设置的响应body - [Yaf\_Response\_Abstract::clearHeaders](https://www.php.net/manual/zh/yaf-response-abstract.clearheaders.php)— The clearHeaders purpose - [Yaf\_Response\_Abstract::\_\_construct](https://www.php.net/manual/zh/yaf-response-abstract.construct.php)— The \_\_construct purpose - [Yaf\_Response\_Abstract::\_\_destruct](https://www.php.net/manual/zh/yaf-response-abstract.destruct.php)— The \_\_destruct purpose - [Yaf\_Response\_Abstract::getBody](https://www.php.net/manual/zh/yaf-response-abstract.getbody.php)— 获取已经设置的响应body - [Yaf\_Response\_Abstract::getHeader](https://www.php.net/manual/zh/yaf-response-abstract.getheader.php)— The getHeader purpose - [Yaf\_Response\_Abstract::prependBody](https://www.php.net/manual/zh/yaf-response-abstract.prependbody.php)— The prependBody purpose - [Yaf\_Response\_Abstract::response](https://www.php.net/manual/zh/yaf-response-abstract.response.php)— send response - [Yaf\_Response\_Abstract::setAllHeaders](https://www.php.net/manual/zh/yaf-response-abstract.setallheaders.php)— The setAllHeaders purpose - [Yaf\_Response\_Abstract::setBody](https://www.php.net/manual/zh/yaf-response-abstract.setbody.php)— 设置响应的Body - [Yaf\_Response\_Abstract::setHeader](https://www.php.net/manual/zh/yaf-response-abstract.setheader.php)— The setHeader purpose - [Yaf\_Response\_Abstract::setRedirect](https://www.php.net/manual/zh/yaf-response-abstract.setredirect.php)— The setRedirect purpose - [Yaf\_Response\_Abstract::\_\_toString](https://www.php.net/manual/zh/yaf-response-abstract.tostring.php)— The \_\_toString purpose - [Yaf\_Route\_Interface](https://www.php.net/manual/zh/class.yaf-route-interface.php)— The Yaf\_Route\_Interface class - [Yaf\_Route\_Interface::assemble](https://www.php.net/manual/zh/yaf-route-interface.assemble.php)— 将指定路由规则组合成一个url - [Yaf\_Route\_Interface::route](https://www.php.net/manual/zh/yaf-route-interface.route.php)— route a request - [Yaf\_Route\_Map](https://www.php.net/manual/zh/class.yaf-route-map.php)— The Yaf\_Route\_Map class - [Yaf\_Route\_Map::assemble](https://www.php.net/manual/zh/yaf-route-map.assemble.php)— 组合url - [Yaf\_Route\_Map::\_\_construct](https://www.php.net/manual/zh/yaf-route-map.construct.php)— The \_\_construct purpose - [Yaf\_Route\_Map::route](https://www.php.net/manual/zh/yaf-route-map.route.php)— The route purpose - [Yaf\_Route\_Regex](https://www.php.net/manual/zh/class.yaf-route-regex.php)— The Yaf\_Route\_Regex class - [Yaf\_Route\_Regex::assemble](https://www.php.net/manual/zh/yaf-route-regex.assemble.php)— 组合url - [Yaf\_Route\_Regex::\_\_construct](https://www.php.net/manual/zh/yaf-route-regex.construct.php)— The \_\_construct purpose - [Yaf\_Route\_Regex::route](https://www.php.net/manual/zh/yaf-route-regex.route.php)— The route purpose - [Yaf\_Route\_Rewrite](https://www.php.net/manual/zh/class.yaf-route-rewrite.php)— The Yaf\_Route\_Rewrite class - [Yaf\_Route\_Rewrite::assemble](https://www.php.net/manual/zh/yaf-route-rewrite.assemble.php)— 组合url - [Yaf\_Route\_Rewrite::\_\_construct](https://www.php.net/manual/zh/yaf-route-rewrite.construct.php)— The \_\_construct purpose - [Yaf\_Route\_Rewrite::route](https://www.php.net/manual/zh/yaf-route-rewrite.route.php)— The route purpose - [Yaf\_Router](https://www.php.net/manual/zh/class.yaf-router.php)— The Yaf\_Router class - [Yaf\_Router::addConfig](https://www.php.net/manual/zh/yaf-router.addconfig.php)— 向Router中添加配置文件中定义的路由 - [Yaf\_Router::addRoute](https://www.php.net/manual/zh/yaf-router.addroute.php)— 往Router中添加新的路由 - [Yaf\_Router::\_\_construct](https://www.php.net/manual/zh/yaf-router.construct.php)— Yaf\_Router constructor - [Yaf\_Router::getCurrentRoute](https://www.php.net/manual/zh/yaf-router.getcurrentroute.php)— 取得当前有效的路由名 - [Yaf\_Router::getRoute](https://www.php.net/manual/zh/yaf-router.getroute.php)— The getRoute purpose - [Yaf\_Router::getRoutes](https://www.php.net/manual/zh/yaf-router.getroutes.php)— The getRoutes purpose - [Yaf\_Router::route](https://www.php.net/manual/zh/yaf-router.route.php)— The route purpose - [Yaf\_Route\_Simple](https://www.php.net/manual/zh/class.yaf-route-simple.php)— The Yaf\_Route\_Simple class - [Yaf\_Route\_Simple::assemble](https://www.php.net/manual/zh/yaf-route-simple.assemble.php)— 组合url - [Yaf\_Route\_Simple::\_\_construct](https://www.php.net/manual/zh/yaf-route-simple.construct.php)— Yaf\_Route\_Simple constructor - [Yaf\_Route\_Simple::route](https://www.php.net/manual/zh/yaf-route-simple.route.php)— Route a request - [Yaf\_Route\_Static](https://www.php.net/manual/zh/class.yaf-route-static.php)— The Yaf\_Route\_Static class - [Yaf\_Route\_Static::assemble](https://www.php.net/manual/zh/yaf-route-static.assemble.php)— 组合url - [Yaf\_Route\_Static::match](https://www.php.net/manual/zh/yaf-route-static.match.php)— The match purpose - [Yaf\_Route\_Static::route](https://www.php.net/manual/zh/yaf-route-static.route.php)— Route a request - [Yaf\_Route\_Supervar](https://www.php.net/manual/zh/class.yaf-route-supervar.php)— The Yaf\_Route\_Supervar class - [Yaf\_Route\_Supervar::assemble](https://www.php.net/manual/zh/yaf-route-supervar.assemble.php)— 组合url - [Yaf\_Route\_Supervar::\_\_construct](https://www.php.net/manual/zh/yaf-route-supervar.construct.php)— The \_\_construct purpose - [Yaf\_Route\_Supervar::route](https://www.php.net/manual/zh/yaf-route-supervar.route.php)— The route purpose - [Yaf\_Session](https://www.php.net/manual/zh/class.yaf-session.php)— The Yaf\_Session class - [Yaf\_Session::\_\_construct](https://www.php.net/manual/zh/yaf-session.construct.php)— The \_\_construct purpose - [Yaf\_Session::count](https://www.php.net/manual/zh/yaf-session.count.php)— The count purpose - [Yaf\_Session::current](https://www.php.net/manual/zh/yaf-session.current.php)— The current purpose - [Yaf\_Session::del](https://www.php.net/manual/zh/yaf-session.del.php)— The del purpose - [Yaf\_Session::\_\_get](https://www.php.net/manual/zh/yaf-session.get.php)— The \_\_get purpose - [Yaf\_Session::getInstance](https://www.php.net/manual/zh/yaf-session.getinstance.php)— The getInstance purpose - [Yaf\_Session::has](https://www.php.net/manual/zh/yaf-session.has.php)— The has purpose - [Yaf\_Session::\_\_isset](https://www.php.net/manual/zh/yaf-session.isset.php)— The \_\_isset purpose - [Yaf\_Session::key](https://www.php.net/manual/zh/yaf-session.key.php)— The key purpose - [Yaf\_Session::next](https://www.php.net/manual/zh/yaf-session.next.php)— The next purpose - [Yaf\_Session::offsetExists](https://www.php.net/manual/zh/yaf-session.offsetexists.php)— The offsetExists purpose - [Yaf\_Session::offsetGet](https://www.php.net/manual/zh/yaf-session.offsetget.php)— The offsetGet purpose - [Yaf\_Session::offsetSet](https://www.php.net/manual/zh/yaf-session.offsetset.php)— The offsetSet purpose - [Yaf\_Session::offsetUnset](https://www.php.net/manual/zh/yaf-session.offsetunset.php)— The offsetUnset purpose - [Yaf\_Session::rewind](https://www.php.net/manual/zh/yaf-session.rewind.php)— The rewind purpose - [Yaf\_Session::\_\_set](https://www.php.net/manual/zh/yaf-session.set.php)— The \_\_set purpose - [Yaf\_Session::start](https://www.php.net/manual/zh/yaf-session.start.php)— The start purpose - [Yaf\_Session::\_\_unset](https://www.php.net/manual/zh/yaf-session.unset.php)— The \_\_unset purpose - [Yaf\_Session::valid](https://www.php.net/manual/zh/yaf-session.valid.php)— The valid purpose - [Yaf\_Exception](https://www.php.net/manual/zh/class.yaf-exception.php)— The Yaf\_Exception class - [Yaf\_Exception::\_\_construct](https://www.php.net/manual/zh/yaf-exception.construct.php)— The \_\_construct purpose - [Yaf\_Exception::getPrevious](https://www.php.net/manual/zh/yaf-exception.getprevious.php)— The getPrevious purpose - [Yaf\_Exception\_TypeError](https://www.php.net/manual/zh/class.yaf-exception-typeerror.php)— The Yaf\_Exception\_TypeError class - [Yaf\_Exception\_StartupError](https://www.php.net/manual/zh/class.yaf-exception-startuperror.php)— The Yaf\_Exception\_StartupError class - [Yaf\_Exception\_DispatchFailed](https://www.php.net/manual/zh/class.yaf-exception-dispatchfailed.php)— The Yaf\_Exception\_DispatchFailed class - [Yaf\_Exception\_RouterFailed](https://www.php.net/manual/zh/class.yaf-exception-routerfailed.php)— The Yaf\_Exception\_RouterFailed class - [Yaf\_Exception\_LoadFailed](https://www.php.net/manual/zh/class.yaf-exception-loadfailed.php)— The Yaf\_Exception\_LoadFailed class - [Yaf\_Exception\_LoadFailed\_Module](https://www.php.net/manual/zh/class.yaf-exception-loadfailed-module.php)— The Yaf\_Exception\_LoadFailed\_Module class - [Yaf\_Exception\_LoadFailed\_Controller](https://www.php.net/manual/zh/class.yaf-exception-loadfailed-controller.php)— The Yaf\_Exception\_LoadFailed\_Controller class - [Yaf\_Exception\_LoadFailed\_Action](https://www.php.net/manual/zh/class.yaf-exception-loadfailed-action.php)— The Yaf\_Exception\_LoadFailed\_Action class - [Yaf\_Exception\_LoadFailed\_View](https://www.php.net/manual/zh/class.yaf-exception-loadfailed-view.php)— The Yaf\_Exception\_LoadFailed\_View class