<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.other.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'book.yaf.php',
    1 => 'Yaf',
    2 => 'Yet Another Framework',
  ),
  'up' => 
  array (
    0 => 'refs.basic.other.php',
    1 => 'Інші базові розширення',
  ),
  'prev' => 
  array (
    0 => 'function.yaml-parse-url.php',
    1 => 'yaml_parse_url',
  ),
  'next' => 
  array (
    0 => 'yaf.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/yaf/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.yaf.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.yaf" class="book">
 
 <h1 class="title">Yet Another Framework</h1>
 

 <div id="intro.yaf" class="preface">
  <h1 class="title">Вступ</h1>
  <p class="simpara">
   The <code class="literal">Yet Another Framework</code>
   (<abbr>Yaf</abbr>) extension is a PHP framework that is used to
   develop web applications.
  </p>
  <p class="simpara">
   Unlike typical PHP frameworks, Yaf is written in C and compiled as an
   extension: the framework classes, the autoloader, the router and the
   dispatch loop all run in compiled code, so the per-request framework
   overhead is measured in microseconds rather than milliseconds, and there
   are no framework PHP files to load. It is designed for high-traffic
   applications where bootstrap cost matters, and for long-lived service
   runtimes (such as Swoole) where each request needs a clean dispatch
   cycle.
  </p>
  <p class="simpara">
   Yaf implements the classical <abbr>MVC</abbr> architecture with a
   single entry script, a configuration file with environment sections,
   bootstrap hooks, a plugin system with seven dispatch hooks, six built-in
   route types, a PSR-0 style autoloader
   (<span class="classname"><a href="class.yaf-loader.php" class="classname">Yaf_Loader</a></span>) and a lightweight PHP template view
   (<span class="classname"><a href="class.yaf-view-simple.php" class="classname">Yaf_View_Simple</a></span>).
  </p>
  <p class="simpara">
   A simple Yaf benchmark can be found at
   <a href="http://www.laruence.com/2011/12/02/2333.html" class="link external">&raquo;&nbsp;Yaf Performance</a>. For a
   quick start guide, please refer to the
   <a href="yaf.tutorials.php" class="link">Tutorials</a> section.
  </p>
  <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
   <p class="simpara">
    Yaf requires PHP 7.0 or newer (the master branch of its source
    repository); a php5 branch supports PHP 5.2 and newer.
   </p>
  </p></blockquote>
 </div>

 






 






 





 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 






 





     
 






 





       
 






 






 





  
 





  

<ul class="chunklist chunklist_book"><li><a href="yaf.setup.php">Встановлення/налаштування</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf.installation.php">Встановлення</a></li><li><a href="yaf.configuration.php">Налаштування під час виконання</a></li></ul></li><li><a href="yaf.constants.php">Попередньо визначені константи</a></li><li><a href="yaf.tutorials.php">Приклади</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf.tutorials.quickstart.php">Quick Start</a></li><li><a href="yaf.tutorials.routes.php">Custom Routes</a></li><li><a href="yaf.tutorials.plugins.php">Plugins</a></li></ul></li><li><a href="yaf.appconfig.php">Application Configuration</a></li><li><a href="class.yaf-application.php">Yaf_Application</a> — The Yaf_Application class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-application.app.php">Yaf_Application::app</a> — Retrieve an Application instance</li><li><a href="yaf-application.bootstrap.php">Yaf_Application::bootstrap</a> — Call bootstrap</li><li><a href="yaf-application.clearlasterror.php">Yaf_Application::clearLastError</a> — Clear the last error info</li><li><a href="yaf-application.construct.php">Yaf_Application::__construct</a> — Yaf_Application constructor</li><li><a href="yaf-application.environ.php">Yaf_Application::environ</a> — Retrieve the environment</li><li><a href="yaf-application.execute.php">Yaf_Application::execute</a> — Execute a callback</li><li><a href="yaf-application.getappdirectory.php">Yaf_Application::getAppDirectory</a> — Get the application directory</li><li><a href="yaf-application.getconfig.php">Yaf_Application::getConfig</a> — Retrieve the config instance</li><li><a href="yaf-application.getdispatcher.php">Yaf_Application::getDispatcher</a> — Get Yaf_Dispatcher instance</li><li><a href="yaf-application.getlasterrormsg.php">Yaf_Application::getLastErrorMsg</a> — Get message of the last occurred error</li><li><a href="yaf-application.getlasterrorno.php">Yaf_Application::getLastErrorNo</a> — Get code of the last occurred error</li><li><a href="yaf-application.getmodules.php">Yaf_Application::getModules</a> — Get defined module names</li><li><a href="yaf-application.run.php">Yaf_Application::run</a> — Start Yaf_Application</li><li><a href="yaf-application.setappdirectory.php">Yaf_Application::setAppDirectory</a> — Change the application directory</li></ul></li><li><a href="class.yaf-bootstrap-abstract.php">Yaf_Bootstrap_Abstract</a> — The Yaf_Bootstrap_Abstract class</li><li><a href="class.yaf-dispatcher.php">Yaf_Dispatcher</a> — The Yaf_Dispatcher class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-dispatcher.autorender.php">Yaf_Dispatcher::autoRender</a> — Switch on/off autorendering</li><li><a href="yaf-dispatcher.catchexception.php">Yaf_Dispatcher::catchException</a> — Switch on/off exception catching</li><li><a href="yaf-dispatcher.construct.php">Yaf_Dispatcher::__construct</a> — Yaf_Dispatcher constructor</li><li><a href="yaf-dispatcher.disableview.php">Yaf_Dispatcher::disableView</a> — Disable view rendering</li><li><a href="yaf-dispatcher.dispatch.php">Yaf_Dispatcher::dispatch</a> — Dispatch a request</li><li><a href="yaf-dispatcher.enableview.php">Yaf_Dispatcher::enableView</a> — Enable view rendering</li><li><a href="yaf-dispatcher.flushinstantly.php">Yaf_Dispatcher::flushInstantly</a> — Switch on/off the instant flushing</li><li><a href="yaf-dispatcher.getapplication.php">Yaf_Dispatcher::getApplication</a> — Retrieve the application</li><li><a href="yaf-dispatcher.getdefaultaction.php">Yaf_Dispatcher::getDefaultAction</a> — Retrieve the default action name</li><li><a href="yaf-dispatcher.getdefaultcontroller.php">Yaf_Dispatcher::getDefaultController</a> — Retrieve the default controller name</li><li><a href="yaf-dispatcher.getdefaultmodule.php">Yaf_Dispatcher::getDefaultModule</a> — Retrieve the default module name</li><li><a href="yaf-dispatcher.getinstance.php">Yaf_Dispatcher::getInstance</a> — Retrieve the dispatcher instance</li><li><a href="yaf-dispatcher.getrequest.php">Yaf_Dispatcher::getRequest</a> — Retrieve the request instance</li><li><a href="yaf-dispatcher.getresponse.php">Yaf_Dispatcher::getResponse</a> — Get the response object</li><li><a href="yaf-dispatcher.getrouter.php">Yaf_Dispatcher::getRouter</a> — Retrieve router instance</li><li><a href="yaf-dispatcher.initview.php">Yaf_Dispatcher::initView</a> — Initialize view and return it</li><li><a href="yaf-dispatcher.registerplugin.php">Yaf_Dispatcher::registerPlugin</a> — Register a plugin</li><li><a href="yaf-dispatcher.returnresponse.php">Yaf_Dispatcher::returnResponse</a> — Switch on/off returning the response</li><li><a href="yaf-dispatcher.setdefaultaction.php">Yaf_Dispatcher::setDefaultAction</a> — Change default action name</li><li><a href="yaf-dispatcher.setdefaultcontroller.php">Yaf_Dispatcher::setDefaultController</a> — Change default controller name</li><li><a href="yaf-dispatcher.setdefaultmodule.php">Yaf_Dispatcher::setDefaultModule</a> — Change default module name</li><li><a href="yaf-dispatcher.seterrorhandler.php">Yaf_Dispatcher::setErrorHandler</a> — Set error handler</li><li><a href="yaf-dispatcher.setrequest.php">Yaf_Dispatcher::setRequest</a> — Set the request object</li><li><a href="yaf-dispatcher.setresponse.php">Yaf_Dispatcher::setResponse</a> — Set the response object</li><li><a href="yaf-dispatcher.setview.php">Yaf_Dispatcher::setView</a> — Set a custom view engine</li><li><a href="yaf-dispatcher.throwexception.php">Yaf_Dispatcher::throwException</a> — Switch on/off exception throwing</li></ul></li><li><a href="class.yaf-config-abstract.php">Yaf_Config_Abstract</a> — The Yaf_Config_Abstract class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-config-abstract.get.php">Yaf_Config_Abstract::get</a> — Retrieve a configuration value</li><li><a href="yaf-config-abstract.readonly.php">Yaf_Config_Abstract::readonly</a> — Check if configuration is read-only</li><li><a href="yaf-config-abstract.set.php">Yaf_Config_Abstract::set</a> — Set a configuration value</li><li><a href="yaf-config-abstract.toarray.php">Yaf_Config_Abstract::toArray</a> — Export configuration as array</li></ul></li><li><a href="class.yaf-config-ini.php">Yaf_Config_Ini</a> — The Yaf_Config_Ini class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-config-ini.construct.php">Yaf_Config_Ini::__construct</a> — Constructor of Yaf_Config_Ini</li><li><a href="yaf-config-ini.count.php">Yaf_Config_Ini::count</a> — Count configuration entries</li><li><a href="yaf-config-ini.current.php">Yaf_Config_Ini::current</a> — Get current entry value</li><li><a href="yaf-config-ini.get.php">Yaf_Config_Ini::get</a> — Retrieve a configuration value</li><li><a href="yaf-config-ini.isset.php">Yaf_Config_Ini::__isset</a> — Check if a key exists</li><li><a href="yaf-config-ini.key.php">Yaf_Config_Ini::key</a> — Get current entry key</li><li><a href="yaf-config-ini.next.php">Yaf_Config_Ini::next</a> — Advance to next entry</li><li><a href="yaf-config-ini.offsetexists.php">Yaf_Config_Ini::offsetExists</a> — Check if a key exists (ArrayAccess)</li><li><a href="yaf-config-ini.offsetget.php">Yaf_Config_Ini::offsetGet</a> — Get a value (ArrayAccess)</li><li><a href="yaf-config-ini.offsetset.php">Yaf_Config_Ini::offsetSet</a> — Set a configuration value (ArrayAccess)</li><li><a href="yaf-config-ini.offsetunset.php">Yaf_Config_Ini::offsetUnset</a> — Remove a key (ArrayAccess)</li><li><a href="yaf-config-ini.readonly.php">Yaf_Config_Ini::readonly</a> — Check if configuration is read-only</li><li><a href="yaf-config-ini.rewind.php">Yaf_Config_Ini::rewind</a> — Reset iterator to first entry</li><li><a href="yaf-config-ini.set.php">Yaf_Config_Ini::set</a> — Set a configuration value</li><li><a href="yaf-config-ini.toarray.php">Yaf_Config_Ini::toArray</a> — Export configuration as array</li><li><a href="yaf-config-ini.valid.php">Yaf_Config_Ini::valid</a> — Check if current position is valid</li></ul></li><li><a href="class.yaf-config-simple.php">Yaf_Config_Simple</a> — The Yaf_Config_Simple class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-config-simple.construct.php">Yaf_Config_Simple::__construct</a> — Constructor of Yaf_Config_Simple</li><li><a href="yaf-config-simple.count.php">Yaf_Config_Simple::count</a> — Count configuration entries</li><li><a href="yaf-config-simple.current.php">Yaf_Config_Simple::current</a> — Get current entry value</li><li><a href="yaf-config-simple.get.php">Yaf_Config_Simple::get</a> — Retrieve a configuration value</li><li><a href="yaf-config-simple.isset.php">Yaf_Config_Simple::__isset</a> — Check if a key exists</li><li><a href="yaf-config-simple.key.php">Yaf_Config_Simple::key</a> — Get current entry key</li><li><a href="yaf-config-simple.next.php">Yaf_Config_Simple::next</a> — Advance to next entry</li><li><a href="yaf-config-simple.offsetexists.php">Yaf_Config_Simple::offsetExists</a> — Check if a key exists (ArrayAccess)</li><li><a href="yaf-config-simple.offsetget.php">Yaf_Config_Simple::offsetGet</a> — Get a value (ArrayAccess)</li><li><a href="yaf-config-simple.offsetset.php">Yaf_Config_Simple::offsetSet</a> — Set a configuration value (ArrayAccess)</li><li><a href="yaf-config-simple.offsetunset.php">Yaf_Config_Simple::offsetUnset</a> — Remove a key (ArrayAccess)</li><li><a href="yaf-config-simple.readonly.php">Yaf_Config_Simple::readonly</a> — Check if configuration is read-only</li><li><a href="yaf-config-simple.rewind.php">Yaf_Config_Simple::rewind</a> — Reset iterator to first entry</li><li><a href="yaf-config-simple.set.php">Yaf_Config_Simple::set</a> — Set a configuration value</li><li><a href="yaf-config-simple.toarray.php">Yaf_Config_Simple::toArray</a> — Export configuration as array</li><li><a href="yaf-config-simple.valid.php">Yaf_Config_Simple::valid</a> — Check if current position is valid</li></ul></li><li><a href="class.yaf-controller-abstract.php">Yaf_Controller_Abstract</a> — The Yaf_Controller_Abstract class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-controller-abstract.construct.php">Yaf_Controller_Abstract::__construct</a> — Constructor of Yaf_Controller_Abstract</li><li><a href="yaf-controller-abstract.display.php">Yaf_Controller_Abstract::display</a> — Render and display a view</li><li><a href="yaf-controller-abstract.forward.php">Yaf_Controller_Abstract::forward</a> — Forward the current request to another action</li><li><a href="yaf-controller-abstract.getinvokearg.php">Yaf_Controller_Abstract::getInvokeArg</a> — Retrieve one action invocation argument</li><li><a href="yaf-controller-abstract.getinvokeargs.php">Yaf_Controller_Abstract::getInvokeArgs</a> — Retrieve all action invocation arguments</li><li><a href="yaf-controller-abstract.getmodulename.php">Yaf_Controller_Abstract::getModuleName</a> — Get module name</li><li><a href="yaf-controller-abstract.getname.php">Yaf_Controller_Abstract::getName</a> — Get controller name</li><li><a href="yaf-controller-abstract.getrequest.php">Yaf_Controller_Abstract::getRequest</a> — Retrieve current request object</li><li><a href="yaf-controller-abstract.getresponse.php">Yaf_Controller_Abstract::getResponse</a> — Retrieve current response object</li><li><a href="yaf-controller-abstract.getview.php">Yaf_Controller_Abstract::getView</a> — Retrieve the view engine</li><li><a href="yaf-controller-abstract.getviewpath.php">Yaf_Controller_Abstract::getViewpath</a> — Get the view path</li><li><a href="yaf-controller-abstract.init.php">Yaf_Controller_Abstract::init</a> — Controller initializer</li><li><a href="yaf-controller-abstract.initview.php">Yaf_Controller_Abstract::initView</a> — Initialize the view and return it</li><li><a href="yaf-controller-abstract.redirect.php">Yaf_Controller_Abstract::redirect</a> — Redirect to a URL</li><li><a href="yaf-controller-abstract.render.php">Yaf_Controller_Abstract::render</a> — Render view template</li><li><a href="yaf-controller-abstract.setviewpath.php">Yaf_Controller_Abstract::setViewpath</a> — Set the view path</li></ul></li><li><a href="class.yaf-action-abstract.php">Yaf_Action_Abstract</a> — The Yaf_Action_Abstract class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-action-abstract.execute.php">Yaf_Action_Abstract::execute</a> — Action entry point</li><li><a href="yaf-action-abstract.getcontroller.php">Yaf_Action_Abstract::getController</a> — Retrieve controller object</li><li><a href="yaf-controller-abstract.getcontrollername.php">Yaf_Action_Abstract::getControllerName</a> — Get controller name</li></ul></li><li><a href="class.yaf-view-interface.php">Yaf_View_Interface</a> — The Yaf_View_Interface class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-view-interface.assign.php">Yaf_View_Interface::assign</a> — Assign a variable to the view</li><li><a href="yaf-view-interface.display.php">Yaf_View_Interface::display</a> — Render and emit a template</li><li><a href="yaf-view-interface.getscriptpath.php">Yaf_View_Interface::getScriptPath</a> — Get the template directory</li><li><a href="yaf-view-interface.render.php">Yaf_View_Interface::render</a> — Render a template</li><li><a href="yaf-view-interface.setscriptpath.php">Yaf_View_Interface::setScriptPath</a> — Set the template directory</li></ul></li><li><a href="class.yaf-view-simple.php">Yaf_View_Simple</a> — The Yaf_View_Simple class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-view-simple.assign.php">Yaf_View_Simple::assign</a> — Assign a variable to the view</li><li><a href="yaf-view-simple.assignref.php">Yaf_View_Simple::assignRef</a> — Alias of Yaf_View_Simple::assign</li><li><a href="yaf-view-simple.clear.php">Yaf_View_Simple::clear</a> — Remove an assigned variable</li><li><a href="yaf-view-simple.construct.php">Yaf_View_Simple::__construct</a> — Constructor of Yaf_View_Simple</li><li><a href="yaf-view-simple.display.php">Yaf_View_Simple::display</a> — Render and store a template in the response</li><li><a href="yaf-view-simple.eval.php">Yaf_View_Simple::eval</a> — Render a template string</li><li><a href="yaf-view-simple.get.php">Yaf_View_Simple::get</a> — Get an assigned variable</li><li><a href="yaf-view-simple.getscriptpath.php">Yaf_View_Simple::getScriptPath</a> — Get the template directory</li><li><a href="yaf-view-simple.isset.php">Yaf_View_Simple::__isset</a> — Check whether a variable is assigned</li><li><a href="yaf-view-simple.render.php">Yaf_View_Simple::render</a> — Render a template</li><li><a href="yaf-view-simple.set.php">Yaf_View_Simple::__set</a> — Assign a variable via property write</li><li><a href="yaf-view-simple.setscriptpath.php">Yaf_View_Simple::setScriptPath</a> — Set the template directory</li></ul></li><li><a href="class.yaf-loader.php">Yaf_Loader</a> — The Yaf_Loader class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-loader.autoload.php">Yaf_Loader::autoload</a> — Autoload a class</li><li><a href="yaf-loader.clearlocalnamespace.php">Yaf_Loader::clearLocalNamespace</a> — Clear registered namespaces</li><li><a href="yaf-loader.construct.php">Yaf_Loader::__construct</a> — The constructor is private</li><li><a href="yaf-loader.getinstance.php">Yaf_Loader::getInstance</a> — Retrieve the Yaf_Loader instance</li><li><a href="yaf-loader.getlibrarypath.php">Yaf_Loader::getLibraryPath</a> — Retrieve the library path</li><li><a href="yaf-loader.getlocalnamespace.php">Yaf_Loader::getLocalNamespace</a> — Retrieve registered namespaces</li><li><a href="yaf-loader.getnamespacepath.php">Yaf_Loader::getNamespacePath</a> — Retrieve the library path of a class</li><li><a href="yaf-loader.getnamespaces.php">Yaf_Loader::getNamespaces</a> — Alias of getLocalNamespace</li><li><a href="yaf-loader.import.php">Yaf_Loader::import</a> — Load a PHP script</li><li><a href="yaf-loader.islocalname.php">Yaf_Loader::isLocalName</a> — Whether a class is local</li><li><a href="yaf-loader.registerlocalnamespace.php">Yaf_Loader::registerLocalNamespace</a> — Register local namespace</li><li><a href="yaf-loader.registernamespace.php">Yaf_Loader::registerNamespace</a> — Alias of registerLocalNamespace</li><li><a href="yaf-loader.setlibrarypath.php">Yaf_Loader::setLibraryPath</a> — Change the library path</li></ul></li><li><a href="class.yaf-plugin-abstract.php">Yaf_Plugin_Abstract</a> — The Yaf_Plugin_Abstract class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-plugin-abstract.dispatchloopshutdown.php">Yaf_Plugin_Abstract::dispatchLoopShutdown</a> — Hook after dispatch loop</li><li><a href="yaf-plugin-abstract.dispatchloopstartup.php">Yaf_Plugin_Abstract::dispatchLoopStartup</a> — Hook before dispatch loop</li><li><a href="yaf-plugin-abstract.postdispatch.php">Yaf_Plugin_Abstract::postDispatch</a> — Hook after each dispatch</li><li><a href="yaf-plugin-abstract.predispatch.php">Yaf_Plugin_Abstract::preDispatch</a> — Hook before each dispatch</li><li><a href="yaf-plugin-abstract.preresponse.php">Yaf_Plugin_Abstract::preResponse</a> — Hook before the response is sent</li><li><a href="yaf-plugin-abstract.routershutdown.php">Yaf_Plugin_Abstract::routerShutdown</a> — Hook after routing</li><li><a href="yaf-plugin-abstract.routerstartup.php">Yaf_Plugin_Abstract::routerStartup</a> — Hook before routing</li></ul></li><li><a href="class.yaf-registry.php">Yaf_Registry</a> — The Yaf_Registry class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-registry.construct.php">Yaf_Registry::__construct</a> — Constructor of Yaf_Registry</li><li><a href="yaf-registry.del.php">Yaf_Registry::del</a> — Remove an item from registry</li><li><a href="yaf-registry.get.php">Yaf_Registry::get</a> — Retrieve an item from registry</li><li><a href="yaf-registry.has.php">Yaf_Registry::has</a> — Check whether an item exists</li><li><a href="yaf-registry.set.php">Yaf_Registry::set</a> — Add an item into registry</li></ul></li><li><a href="class.yaf-request-abstract.php">Yaf_Request_Abstract</a> — The Yaf_Request_Abstract class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-request-abstract.clearparams.php">Yaf_Request_Abstract::clearParams</a> — Remove all parameters</li><li><a href="yaf-request-abstract.get.php">Yaf_Request_Abstract::get</a> — Retrieve a variable from the request</li><li><a href="yaf-request-abstract.getactionname.php">Yaf_Request_Abstract::getActionName</a> — Retrieve the action name</li><li><a href="yaf-request-abstract.getbaseuri.php">Yaf_Request_Abstract::getBaseUri</a> — Retrieve the base URI</li><li><a href="yaf-request-abstract.getcontrollername.php">Yaf_Request_Abstract::getControllerName</a> — Retrieve the controller name</li><li><a href="yaf-request-abstract.getcookie.php">Yaf_Request_Abstract::getCookie</a> — Fetch a COOKIE variable</li><li><a href="yaf-request-abstract.getenv.php">Yaf_Request_Abstract::getEnv</a> — Retrieve an ENV variable</li><li><a href="yaf-request-abstract.getexception.php">Yaf_Request_Abstract::getException</a> — Retrieve the exception</li><li><a href="yaf-request-abstract.getfiles.php">Yaf_Request_Abstract::getFiles</a> — Fetch uploaded files</li><li><a href="yaf-request-abstract.getlanguage.php">Yaf_Request_Abstract::getLanguage</a> — Retrieve the client's preferred language</li><li><a href="yaf-request-abstract.getmethod.php">Yaf_Request_Abstract::getMethod</a> — Retrieve the request method</li><li><a href="yaf-request-abstract.getmodulename.php">Yaf_Request_Abstract::getModuleName</a> — Retrieve the module name</li><li><a href="yaf-request-abstract.getparam.php">Yaf_Request_Abstract::getParam</a> — Retrieve a parameter</li><li><a href="yaf-request-abstract.getparams.php">Yaf_Request_Abstract::getParams</a> — Retrieve all parameters</li><li><a href="yaf-request-abstract.getpost.php">Yaf_Request_Abstract::getPost</a> — Fetch a POST parameter</li><li><a href="yaf-request-abstract.getquery.php">Yaf_Request_Abstract::getQuery</a> — Fetch a query parameter</li><li><a href="yaf-request-abstract.getraw.php">Yaf_Request_Abstract::getRaw</a> — Retrieve the raw request body</li><li><a href="yaf-request-abstract.getrequest.php">Yaf_Request_Abstract::getRequest</a> — Fetch a REQUEST variable</li><li><a href="yaf-request-abstract.getrequesturi.php">Yaf_Request_Abstract::getRequestUri</a> — Retrieve the request URI</li><li><a href="yaf-request-abstract.getserver.php">Yaf_Request_Abstract::getServer</a> — Retrieve a SERVER variable</li><li><a href="yaf-request-abstract.iscli.php">Yaf_Request_Abstract::isCli</a> — Determine if the request is a CLI request</li><li><a href="yaf-request-abstract.isdelete.php">Yaf_Request_Abstract::isDelete</a> — Determine if the request is a DELETE request</li><li><a href="yaf-request-abstract.isdispatched.php">Yaf_Request_Abstract::isDispatched</a> — Determine if the request is dispatched</li><li><a href="yaf-request-abstract.isget.php">Yaf_Request_Abstract::isGet</a> — Determine if the request is a GET request</li><li><a href="yaf-request-abstract.ishead.php">Yaf_Request_Abstract::isHead</a> — Determine if the request is a HEAD request</li><li><a href="yaf-request-abstract.isoptions.php">Yaf_Request_Abstract::isOptions</a> — Determine if the request is a OPTIONS request</li><li><a href="yaf-request-abstract.ispatch.php">Yaf_Request_Abstract::isPatch</a> — Determine if the request is a PATCH request</li><li><a href="yaf-request-abstract.ispost.php">Yaf_Request_Abstract::isPost</a> — Determine if the request is a POST request</li><li><a href="yaf-request-abstract.isput.php">Yaf_Request_Abstract::isPut</a> — Determine if the request is a PUT request</li><li><a href="yaf-request-abstract.isrouted.php">Yaf_Request_Abstract::isRouted</a> — Determine if the request has been routed</li><li><a href="yaf-request-abstract.isxmlhttprequest.php">Yaf_Request_Abstract::isXmlHttpRequest</a> — Determine if the request is an Ajax request</li><li><a href="yaf-request-abstract.setactionname.php">Yaf_Request_Abstract::setActionName</a> — Set action name</li><li><a href="yaf-request-abstract.setbaseuri.php">Yaf_Request_Abstract::setBaseUri</a> — Set base URI</li><li><a href="yaf-request-abstract.setcontrollername.php">Yaf_Request_Abstract::setControllerName</a> — Set controller name</li><li><a href="yaf-request-abstract.setdispatched.php">Yaf_Request_Abstract::setDispatched</a> — Mark the request as dispatched</li><li><a href="yaf-request-abstract.setmodulename.php">Yaf_Request_Abstract::setModuleName</a> — Set module name</li><li><a href="yaf-request-abstract.setparam.php">Yaf_Request_Abstract::setParam</a> — Set a parameter to the request</li><li><a href="yaf-request-abstract.setrequesturi.php">Yaf_Request_Abstract::setRequestUri</a> — Set the request URI</li><li><a href="yaf-request-abstract.setrouted.php">Yaf_Request_Abstract::setRouted</a> — Mark the request as routed</li></ul></li><li><a href="class.yaf-request-http.php">Yaf_Request_Http</a> — The Yaf_Request_Http class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-request-http.construct.php">Yaf_Request_Http::__construct</a> — Constructor of Yaf_Request_Http</li></ul></li><li><a href="class.yaf-request-simple.php">Yaf_Request_Simple</a> — The Yaf_Request_Simple class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-request-simple.construct.php">Yaf_Request_Simple::__construct</a> — Constructor of Yaf_Request_Simple</li></ul></li><li><a href="class.yaf-response-abstract.php">Yaf_Response_Abstract</a> — The Yaf_Response_Abstract class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-response-abstract.appendbody.php">Yaf_Response_Abstract::appendBody</a> — Append to the response body</li><li><a href="yaf-response-abstract.clearbody.php">Yaf_Response_Abstract::clearBody</a> — Discard all existing response bodies</li><li><a href="yaf-response-abstract.clearheaders.php">Yaf_Response_Abstract::clearHeaders</a> — Remove all response headers</li><li><a href="yaf-response-abstract.construct.php">Yaf_Response_Abstract::__construct</a> — Construct a response</li><li><a href="yaf-response-abstract.getbody.php">Yaf_Response_Abstract::getBody</a> — Retrieve a response body block</li><li><a href="yaf-response-abstract.getheader.php">Yaf_Response_Abstract::getHeader</a> — Retrieve an HTTP response header</li><li><a href="yaf-response-abstract.prependbody.php">Yaf_Response_Abstract::prependBody</a> — Prepend to the response body</li><li><a href="yaf-response-abstract.response.php">Yaf_Response_Abstract::response</a> — Send the response</li><li><a href="yaf-response-abstract.setallheaders.php">Yaf_Response_Abstract::setAllHeaders</a> — Set all HTTP response headers</li><li><a href="yaf-response-abstract.setbody.php">Yaf_Response_Abstract::setBody</a> — Set content to the response</li><li><a href="yaf-response-abstract.setheader.php">Yaf_Response_Abstract::setHeader</a> — Set an HTTP response header</li><li><a href="yaf-response-abstract.setredirect.php">Yaf_Response_Abstract::setRedirect</a> — Redirect to another URL</li><li><a href="yaf-response-abstract.tostring.php">Yaf_Response_Abstract::__toString</a> — Retrieve all bodys as string</li></ul></li><li><a href="class.yaf-response-cli.php">Yaf_Response_Cli</a> — The Yaf_Response_Cli class</li><li><a href="class.yaf-response-http.php">Yaf_Response_Http</a> — The Yaf_Response_Http class</li><li><a href="class.yaf-route-interface.php">Yaf_Route_Interface</a> — The Yaf_Route_Interface class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-route-interface.assemble.php">Yaf_Route_Interface::assemble</a> — Assemble a request</li><li><a href="yaf-route-interface.route.php">Yaf_Route_Interface::route</a> — Route a request</li></ul></li><li><a href="class.yaf-route-map.php">Yaf_Route_Map</a> — The Yaf_Route_Map class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-route-map.assemble.php">Yaf_Route_Map::assemble</a> — Assemble a url</li><li><a href="yaf-route-map.construct.php">Yaf_Route_Map::__construct</a> — Construct a map route</li><li><a href="yaf-route-map.route.php">Yaf_Route_Map::route</a> — Route a request</li></ul></li><li><a href="class.yaf-route-regex.php">Yaf_Route_Regex</a> — The Yaf_Route_Regex class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-route-regex.assemble.php">Yaf_Route_Regex::assemble</a> — Assemble a url</li><li><a href="yaf-route-regex.construct.php">Yaf_Route_Regex::__construct</a> — Yaf_Route_Regex constructor</li><li><a href="yaf-route-regex.route.php">Yaf_Route_Regex::route</a> — Route a request</li></ul></li><li><a href="class.yaf-route-rewrite.php">Yaf_Route_Rewrite</a> — The Yaf_Route_Rewrite class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-route-rewrite.assemble.php">Yaf_Route_Rewrite::assemble</a> — Assemble a url</li><li><a href="yaf-route-rewrite.construct.php">Yaf_Route_Rewrite::__construct</a> — Yaf_Route_Rewrite constructor</li><li><a href="yaf-route-rewrite.route.php">Yaf_Route_Rewrite::route</a> — Route a request</li></ul></li><li><a href="class.yaf-router.php">Yaf_Router</a> — The Yaf_Router class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-router.addconfig.php">Yaf_Router::addConfig</a> — Add config-defined routes into Router</li><li><a href="yaf-router.addroute.php">Yaf_Router::addRoute</a> — Add new Route into Router</li><li><a href="yaf-router.construct.php">Yaf_Router::__construct</a> — Yaf_Router constructor</li><li><a href="yaf-router.getcurrentroute.php">Yaf_Router::getCurrentRoute</a> — Get the effective route name</li><li><a href="yaf-router.getroute.php">Yaf_Router::getRoute</a> — Retrieve a route by name</li><li><a href="yaf-router.getroutes.php">Yaf_Router::getRoutes</a> — Retrieve registered routes</li><li><a href="yaf-router.route.php">Yaf_Router::route</a> — Route a request</li></ul></li><li><a href="class.yaf-route-simple.php">Yaf_Route_Simple</a> — The Yaf_Route_Simple class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-route-simple.assemble.php">Yaf_Route_Simple::assemble</a> — Assemble a url</li><li><a href="yaf-route-simple.construct.php">Yaf_Route_Simple::__construct</a> — Construct a simple route</li><li><a href="yaf-route-simple.route.php">Yaf_Route_Simple::route</a> — Route a request</li></ul></li><li><a href="class.yaf-route-static.php">Yaf_Route_Static</a> — The Yaf_Route_Static class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-route-static.assemble.php">Yaf_Route_Static::assemble</a> — Assemble a url</li><li><a href="yaf-route-static.match.php">Yaf_Route_Static::match</a> — Whether the route matches a URI</li><li><a href="yaf-route-static.route.php">Yaf_Route_Static::route</a> — Route a request</li></ul></li><li><a href="class.yaf-route-supervar.php">Yaf_Route_Supervar</a> — The Yaf_Route_Supervar class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-route-supervar.assemble.php">Yaf_Route_Supervar::assemble</a> — Assemble a url</li><li><a href="yaf-route-supervar.construct.php">Yaf_Route_Supervar::__construct</a> — Construct a supervar route</li><li><a href="yaf-route-supervar.route.php">Yaf_Route_Supervar::route</a> — Route a request</li></ul></li><li><a href="class.yaf-session.php">Yaf_Session</a> — The Yaf_Session class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-session.construct.php">Yaf_Session::__construct</a> — Constructor of Yaf_Session</li><li><a href="yaf-session.count.php">Yaf_Session::count</a> — Count session entries</li><li><a href="yaf-session.current.php">Yaf_Session::current</a> — Get current session entry value</li><li><a href="yaf-session.del.php">Yaf_Session::del</a> — Remove a session key</li><li><a href="yaf-session.get.php">Yaf_Session::get</a> — Get a session value</li><li><a href="yaf-session.getinstance.php">Yaf_Session::getInstance</a> — Get the session singleton</li><li><a href="yaf-session.has.php">Yaf_Session::has</a> — Check if a session key exists</li><li><a href="yaf-session.isset.php">Yaf_Session::__isset</a> — Check if a session key exists</li><li><a href="yaf-session.key.php">Yaf_Session::key</a> — Get current session entry key</li><li><a href="yaf-session.next.php">Yaf_Session::next</a> — Advance to next session entry</li><li><a href="yaf-session.offsetexists.php">Yaf_Session::offsetExists</a> — Check if a session key exists (ArrayAccess)</li><li><a href="yaf-session.offsetget.php">Yaf_Session::offsetGet</a> — Get a session value (ArrayAccess)</li><li><a href="yaf-session.offsetset.php">Yaf_Session::offsetSet</a> — Set a session value (ArrayAccess)</li><li><a href="yaf-session.offsetunset.php">Yaf_Session::offsetUnset</a> — Remove a session key (ArrayAccess)</li><li><a href="yaf-session.rewind.php">Yaf_Session::rewind</a> — Reset session iterator to first entry</li><li><a href="yaf-session.set.php">Yaf_Session::set</a> — Set a session value</li><li><a href="yaf-session.start.php">Yaf_Session::start</a> — Start the session</li><li><a href="yaf-session.unset.php">Yaf_Session::__unset</a> — Remove a session key</li><li><a href="yaf-session.valid.php">Yaf_Session::valid</a> — Check if current session position is valid</li></ul></li><li><a href="class.yaf-exception.php">Yaf_Exception</a> — The Yaf_Exception class<ul class="chunklist chunklist_book chunklist_children"><li><a href="yaf-exception.construct.php">Yaf_Exception::__construct</a> — Construct a Yaf exception</li><li><a href="yaf-exception.getprevious.php">Yaf_Exception::getPrevious</a> — Retrieve the previous exception</li></ul></li><li><a href="class.yaf-exception-typeerror.php">Yaf_Exception_TypeError</a> — The Yaf_Exception_TypeError class</li><li><a href="class.yaf-exception-startuperror.php">Yaf_Exception_StartupError</a> — The Yaf_Exception_StartupError class</li><li><a href="class.yaf-exception-dispatchfailed.php">Yaf_Exception_DispatchFailed</a> — The Yaf_Exception_DispatchFailed class</li><li><a href="class.yaf-exception-routerfailed.php">Yaf_Exception_RouterFailed</a> — The Yaf_Exception_RouterFailed class</li><li><a href="class.yaf-exception-loadfailed.php">Yaf_Exception_LoadFailed</a> — The Yaf_Exception_LoadFailed class</li><li><a href="class.yaf-exception-loadfailed-module.php">Yaf_Exception_LoadFailed_Module</a> — The Yaf_Exception_LoadFailed_Module class</li><li><a href="class.yaf-exception-loadfailed-controller.php">Yaf_Exception_LoadFailed_Controller</a> — The Yaf_Exception_LoadFailed_Controller class</li><li><a href="class.yaf-exception-loadfailed-action.php">Yaf_Exception_LoadFailed_Action</a> — The Yaf_Exception_LoadFailed_Action class</li><li><a href="class.yaf-exception-loadfailed-view.php">Yaf_Exception_LoadFailed_View</a> — The Yaf_Exception_LoadFailed_View class</li></ul></div><?php manual_footer($setup); ?>