« yaml_parse
Введение »
PHP Manual
Другие базовые расширения
Yet Another Framework
Yet Another Framework
Введение
Установка и настройка
Требования
Установка
Настройка во время выполнения
Типы ресурсов
Предопределенные константы
Примеры
Конфигурация приложения
Yaf_Application
— Класс Yaf_Application
Yaf_Application::app
— Извлечь экземпляр приложения
Yaf_Application::bootstrap
— Вызвать bootstrap
Yaf_Application::clearLastError
— Очистка информации по последней ошибке
Yaf_Application::__clone
— Yaf_Application нельзя клонировать
Yaf_Application::__construct
— Конструктор Yaf_Application
Yaf_Application::__destruct
— Деструктор Yaf_Application
Yaf_Application::environ
— Получить значение окружения
Yaf_Application::execute
— Запустить функцию обратного вызова
Yaf_Application::getAppDirectory
— Получить директорию приложения
Yaf_Application::getConfig
— Получить экземпляр класса конфигурации
Yaf_Application::getDispatcher
— Получить экземпляр класса Yaf_Dispatcher
Yaf_Application::getLastErrorMsg
— Получить последнее сообщение об ошибке
Yaf_Application::getLastErrorNo
— Получить код последней ошибки
Yaf_Application::getModules
— Получить имена заявленных модулей
Yaf_Application::run
— Запустить Yaf_Application
Yaf_Application::setAppDirectory
— Изменить директорию приложения
Yaf_Application::__sleep
— Yaf_Application нельзя сериализовывать
Yaf_Application::__wakeup
— Yaf_Application нельзя десериализовывать
Yaf_Bootstrap_Abstract
— Класс Yaf_Bootstrap_Abstract
Yaf_Dispatcher
— Класс Yaf_Dispatcher
Yaf_Dispatcher::autoRender
— Switch on/off autorendering
Yaf_Dispatcher::catchException
— Switch on/off exception catching
Yaf_Dispatcher::__clone
— Yaf_Dispatcher can not be cloned
Yaf_Dispatcher::__construct
— Yaf_Dispatcher constructor
Yaf_Dispatcher::disableView
— Disable view rendering
Yaf_Dispatcher::dispatch
— Dispatch a request
Yaf_Dispatcher::enableView
— Enable view rendering
Yaf_Dispatcher::flushInstantly
— Switch on/off the instant flushing
Yaf_Dispatcher::getApplication
— Retrive the application
Yaf_Dispatcher::getInstance
— Retrive the dispatcher instance
Yaf_Dispatcher::getRequest
— Retrive the request instance
Yaf_Dispatcher::getRouter
— Retrive router instance
Yaf_Dispatcher::initView
— Initialize view and return it
Yaf_Dispatcher::registerPlugin
— Register a plugin
Yaf_Dispatcher::returnResponse
— The returnResponse purpose
Yaf_Dispatcher::setDefaultAction
— Change default action name
Yaf_Dispatcher::setDefaultController
— Change default controller name
Yaf_Dispatcher::setDefaultModule
— Change default module name
Yaf_Dispatcher::setErrorHandler
— Set error handler
Yaf_Dispatcher::setRequest
— The setRequest purpose
Yaf_Dispatcher::setView
— Set a custom view engine
Yaf_Dispatcher::__sleep
— Yaf_Dispatcher can not be serialized
Yaf_Dispatcher::throwException
— Switch on/off exception throwing
Yaf_Dispatcher::__wakeup
— Yaf_Dispatcher can not be unserialized
Yaf_Config_Abstract
— Класс Yaf_Config_Abstract
Yaf_Config_Abstract::get
— Getter
Yaf_Config_Abstract::readonly
— Find a config whether readonly
Yaf_Config_Abstract::set
— Setter
Yaf_Config_Abstract::toArray
— Cast to array
Yaf_Config_Ini
— Класс Yaf_Config_Ini
Yaf_Config_Ini::__construct
— Yaf_Config_Ini constructor
Yaf_Config_Ini::count
— Count all elements in Yaf_Config.ini
Yaf_Config_Ini::current
— Retrieve the current value
Yaf_Config_Ini::__get
— Retrieve a element
Yaf_Config_Ini::__isset
— Determine if a key is exists
Yaf_Config_Ini::key
— Fetch current element's key
Yaf_Config_Ini::next
— Advance the internal pointer
Yaf_Config_Ini::offsetExists
— The offsetExists purpose
Yaf_Config_Ini::offsetGet
— The offsetGet purpose
Yaf_Config_Ini::offsetSet
— The offsetSet purpose
Yaf_Config_Ini::offsetUnset
— The offsetUnset purpose
Yaf_Config_Ini::readonly
— The readonly purpose
Yaf_Config_Ini::rewind
— The rewind purpose
Yaf_Config_Ini::__set
— The __set purpose
Yaf_Config_Ini::toArray
— Return config as a PHP array
Yaf_Config_Ini::valid
— The valid purpose
Yaf_Config_Simple
— Класс Yaf_Config_Simple
Yaf_Config_Simple::__construct
— The __construct purpose
Yaf_Config_Simple::count
— The count purpose
Yaf_Config_Simple::current
— The current purpose
Yaf_Config_Simple::__get
— The __get purpose
Yaf_Config_Simple::__isset
— The __isset purpose
Yaf_Config_Simple::key
— The key purpose
Yaf_Config_Simple::next
— The next purpose
Yaf_Config_Simple::offsetExists
— The offsetExists purpose
Yaf_Config_Simple::offsetGet
— The offsetGet purpose
Yaf_Config_Simple::offsetSet
— The offsetSet purpose
Yaf_Config_Simple::offsetUnset
— The offsetUnset purpose
Yaf_Config_Simple::readonly
— The readonly purpose
Yaf_Config_Simple::rewind
— The rewind purpose
Yaf_Config_Simple::__set
— The __set purpose
Yaf_Config_Simple::toArray
— Returns a PHP array
Yaf_Config_Simple::valid
— The valid purpose
Yaf_Controller_Abstract
— The Yaf_Controller_Abstract class
Yaf_Controller_Abstract::__clone
— Yaf_Controller_Abstract can not be cloned
Yaf_Controller_Abstract::__construct
— Yaf_Controller_Abstract constructor
Yaf_Controller_Abstract::display
— The display purpose
Yaf_Controller_Abstract::forward
— Foward to another action
Yaf_Controller_Abstract::getInvokeArg
— The getInvokeArg purpose
Yaf_Controller_Abstract::getInvokeArgs
— The getInvokeArgs purpose
Yaf_Controller_Abstract::getModuleName
— Get module name
Yaf_Controller_Abstract::getRequest
— Retrieve current request object
Yaf_Controller_Abstract::getResponse
— Retrieve current response object
Yaf_Controller_Abstract::getView
— Retrieve the view engine
Yaf_Controller_Abstract::getViewpath
— The getViewpath purpose
Yaf_Controller_Abstract::init
— Controller initializer
Yaf_Controller_Abstract::initView
— The initView purpose
Yaf_Controller_Abstract::redirect
— Redirect to a URL
Yaf_Controller_Abstract::render
— Render view template
Yaf_Controller_Abstract::setViewpath
— The setViewpath purpose
Yaf_Action_Abstract
— Класс Yaf_Action_Abstract
Yaf_Action_Abstract::execute
— Точка входа для Action-классов
Yaf_Action_Abstract::getController
— Получить объект контроллер
Yaf_View_Interface
— Класс Yaf_View_Interface
Yaf_View_Interface::assign
— Assign value to View engine
Yaf_View_Interface::display
— Render and output a template
Yaf_View_Interface::getScriptPath
— The getScriptPath purpose
Yaf_View_Interface::render
— Render a template
Yaf_View_Interface::setScriptPath
— The setScriptPath purpose
Yaf_View_Simple
— Класс Yaf_View_Simple
Yaf_View_Simple::assign
— Assign values
Yaf_View_Simple::assignRef
— The assignRef purpose
Yaf_View_Simple::clear
— Clear Assigned values
Yaf_View_Simple::__construct
— Constructor of Yaf_View_Simple
Yaf_View_Simple::display
— Render and display
Yaf_View_Simple::eval
— Render template
Yaf_View_Simple::__get
— Retrieve assigned variable
Yaf_View_Simple::getScriptPath
— Get templates directory
Yaf_View_Simple::__isset
— The __isset purpose
Yaf_View_Simple::render
— Render template
Yaf_View_Simple::__set
— Set value to engine
Yaf_View_Simple::setScriptPath
— Set tempaltes directory
Yaf_Loader
— The Yaf_Loader class
Yaf_Loader::autoload
— The autoload purpose
Yaf_Loader::clearLocalNamespace
— The clearLocalNamespace purpose
Yaf_Loader::__clone
— The __clone purpose
Yaf_Loader::__construct
— The __construct purpose
Yaf_Loader::getInstance
— The getInstance purpose
Yaf_Loader::getLibraryPath
— Get the library path
Yaf_Loader::getLocalNamespace
— The getLocalNamespace purpose
Yaf_Loader::import
— The import purpose
Yaf_Loader::isLocalName
— The isLocalName purpose
Yaf_Loader::registerLocalNamespace
— Register local class prefix
Yaf_Loader::setLibraryPath
— Change the library path
Yaf_Loader::__sleep
— The __sleep purpose
Yaf_Loader::__wakeup
— The __wakeup purpose
Yaf_Plugin_Abstract
— Класс Yaf_Plugin_Abstract
Yaf_Plugin_Abstract::dispatchLoopShutdown
— The dispatchLoopShutdown purpose
Yaf_Plugin_Abstract::dispatchLoopStartup
— Hook before dispatch loop
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::__clone
— The __clone purpose
Yaf_Registry::__construct
— Yaf_Registry implements singleton
Yaf_Registry::del
— Remove an item from registry
Yaf_Registry::get
— Retrieve an item from registry
Yaf_Registry::has
— Check whether an item exists
Yaf_Registry::set
— Add an item into registry
Yaf_Request_Abstract
— Класс Yaf_Request_Abstract
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
— Retrieve ENV varialbe
Yaf_Request_Abstract::getException
— The getException purpose
Yaf_Request_Abstract::getLanguage
— Retrieve client's prefered language
Yaf_Request_Abstract::getMethod
— Retrieve the request method
Yaf_Request_Abstract::getModuleName
— The getModuleName purpose
Yaf_Request_Abstract::getParam
— Retrieve calling parameter
Yaf_Request_Abstract::getParams
— Retrieve all calling parameters
Yaf_Request_Abstract::getRequestUri
— The getRequestUri purpose
Yaf_Request_Abstract::getServer
— Retrieve SERVER variable
Yaf_Request_Abstract::isCli
— Determine if request is CLI request
Yaf_Request_Abstract::isDispatched
— Determin if the request is dispatched
Yaf_Request_Abstract::isGet
— Determine if request is GET request
Yaf_Request_Abstract::isHead
— Determine if request is HEAD request
Yaf_Request_Abstract::isOptions
— Determine if request is OPTIONS request
Yaf_Request_Abstract::isPost
— Determine if request is POST request
Yaf_Request_Abstract::isPut
— Determine if request is PUT request
Yaf_Request_Abstract::isRouted
— Determin if request has been routed
Yaf_Request_Abstract::isXmlHttpRequest
— Determine if request is AJAX request
Yaf_Request_Abstract::setActionName
— The setActionName purpose
Yaf_Request_Abstract::setBaseUri
— Set base URI
Yaf_Request_Abstract::setControllerName
— The setControllerName purpose
Yaf_Request_Abstract::setDispatched
— The setDispatched purpose
Yaf_Request_Abstract::setModuleName
— The setModuleName purpose
Yaf_Request_Abstract::setParam
— Set a calling parameter to a request
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::__clone
— Yaf_Request_Http can not be cloned
Yaf_Request_Http::__construct
— Constructor of Yaf_Request_Http
Yaf_Request_Http::get
— Retrieve variable from client
Yaf_Request_Http::getCookie
— Retrieve Cookie variable
Yaf_Request_Http::getFiles
— The getFiles purpose
Yaf_Request_Http::getPost
— Retrieve POST variable
Yaf_Request_Http::getQuery
— Fetch a query parameter
Yaf_Request_Http::getRaw
— Retrieve Raw request body
Yaf_Request_Http::getRequest
— The getRequest purpose
Yaf_Request_Http::isXmlHttpRequest
— Determin if request is Ajax Request
Yaf_Request_Simple
— Класс Yaf_Request_Simple
Yaf_Request_Simple::__clone
— The __clone purpose
Yaf_Request_Simple::__construct
— Constructor of 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
— Determin if request is AJAX request
Yaf_Response_Abstract
— Класс Yaf_Response_Abstract
Yaf_Response_Abstract::appendBody
— Append to response body
Yaf_Response_Abstract::clearBody
— Discard all exists response body
Yaf_Response_Abstract::clearHeaders
— Discard all set headers
Yaf_Response_Abstract::__clone
— The __clone purpose
Yaf_Response_Abstract::__construct
— The __construct purpose
Yaf_Response_Abstract::__destruct
— The __destruct purpose
Yaf_Response_Abstract::getBody
— Retrieve a exists content
Yaf_Response_Abstract::getHeader
— The getHeader purpose
Yaf_Response_Abstract::prependBody
— The prependBody purpose
Yaf_Response_Abstract::response
— Send response
Yaf_Response_Abstract::setAllHeaders
— The setAllHeaders purpose
Yaf_Response_Abstract::setBody
— Set content to response
Yaf_Response_Abstract::setHeader
— Set reponse header
Yaf_Response_Abstract::setRedirect
— The setRedirect purpose
Yaf_Response_Abstract::__toString
— Retrieve all bodys as string
Yaf_Route_Interface
— Класс Yaf_Route_Interface
Yaf_Route_Interface::assemble
— Assemble a request
Yaf_Route_Interface::route
— Route a request
Yaf_Route_Map
— The Yaf_Route_Map class
Yaf_Route_Map::assemble
— Assemble a 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
— Цель маршрута
Yaf_Route_Rewrite
— Класс Yaf_Route_Rewrite
Yaf_Route_Rewrite::assemble
— Assemble a url
Yaf_Route_Rewrite::__construct
— Yaf_Route_Rewrite constructor
Yaf_Route_Rewrite::route
— The route purpose
Yaf_Router
— The Yaf_Router class
Yaf_Router::addConfig
— Add config-defined routes into Router
Yaf_Router::addRoute
— Add new Route into Router
Yaf_Router::__construct
— Yaf_Router constructor
Yaf_Router::getCurrentRoute
— Get the effective route name
Yaf_Router::getRoute
— Retrieve a route by name
Yaf_Router::getRoutes
— Retrieve registered routes
Yaf_Router::route
— The route purpose
Yaf_Route_Simple
— Класс Yaf_Route_Simple
Yaf_Route_Simple::assemble
— Assemble a url
Yaf_Route_Simple::__construct
— Yaf_Route_Simple constructor
Yaf_Route_Simple::route
— Route a request
Yaf_Route_Static
— Класс Yaf_Route_Static
Yaf_Route_Static::assemble
— Assemble a url
Yaf_Route_Static::match
— The match purpose
Yaf_Route_Static::route
— Route a request
Yaf_Route_Supervar
— Класс Yaf_Route_Supervar
Yaf_Route_Supervar::assemble
— Assemble a url
Yaf_Route_Supervar::__construct
— The __construct purpose
Yaf_Route_Supervar::route
— The route purpose
Yaf_Session
— Класс Yaf_Session
Yaf_Session::__clone
— The __clone purpose
Yaf_Session::__construct
— Constructor of 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::__sleep
— The __sleep purpose
Yaf_Session::start
— The start purpose
Yaf_Session::__unset
— The __unset purpose
Yaf_Session::valid
— The valid purpose
Yaf_Session::__wakeup
— The __wakeup purpose
Yaf_Exception
— Класс Yaf_Exception
Yaf_Exception::__construct
— Конструктор Yaf_Exception
Yaf_Exception::getPrevious
— Получить предыдущее исключение
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