Downloads
Documentation
Get Involved
Help
Search docs
ConFoo 2025
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Einführung »
« yaml_parse_url
PHP-Handbuch
Funktionsreferenz
Sonstige Grunderweiterungen
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Yet Another Framework
Einführung
Installation/Konfiguration
Installation
Laufzeit-Konfiguration
Vordefinierte Konstanten
Beispiele
Application Configuration
Yaf_Application
— The Yaf_Application class
Yaf_Application::app
— Retrieve an Application instance
Yaf_Application::bootstrap
— Call bootstrap
Yaf_Application::clearLastError
— Clear the last error info
Yaf_Application::__construct
— Yaf_Application constructor
Yaf_Application::__destruct
— The __destruct purpose
Yaf_Application::environ
— Retrive environ
Yaf_Application::execute
— Execute a callback
Yaf_Application::getAppDirectory
— Get the application directory
Yaf_Application::getConfig
— Retrive the config instance
Yaf_Application::getDispatcher
— Get Yaf_Dispatcher instance
Yaf_Application::getLastErrorMsg
— Get message of the last occurred error
Yaf_Application::getLastErrorNo
— Get code of last occurred error
Yaf_Application::getModules
— Get defined module names
Yaf_Application::run
— Start Yaf_Application
Yaf_Application::setAppDirectory
— Change the application directory
Yaf_Bootstrap_Abstract
— The Yaf_Bootstrap_Abstract class
Yaf_Dispatcher
— The Yaf_Dispatcher class
Yaf_Dispatcher::autoRender
— Switch on/off autorendering
Yaf_Dispatcher::catchException
— Switch on/off exception catching
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
— Retrieve the application
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
— 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::throwException
— Switch on/off exception throwing
Yaf_Config_Abstract
— The Yaf_Config_Abstract class
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
— The Yaf_Config_Ini class
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
— The Yaf_Config_Simple class
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::__construct
— Yaf_Controller_Abstract constructor
Yaf_Controller_Abstract::display
— The display purpose
Yaf_Controller_Abstract::forward
— Forward 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::getName
— Get self 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
— The Yaf_Action_Abstract class
Yaf_Action_Abstract::execute
— Action entry point
Yaf_Action_Abstract::getController
— Retrieve controller object
Yaf_Action_Abstract::getControllerName
— Get controller name
Yaf_View_Interface
— The Yaf_View_Interface class
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
— The Yaf_View_Simple class
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::__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::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
— Register local class prefix
Yaf_Loader::registerNamespace
— Register namespace with searching path
Yaf_Loader::setLibraryPath
— Change the library path
Yaf_Plugin_Abstract
— The Yaf_Plugin_Abstract class
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
— The Yaf_Registry class
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
— The Yaf_Request_Abstract class
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
— Retrieve ENV varialbe
Yaf_Request_Abstract::getException
— The getException purpose
Yaf_Request_Abstract::getLanguage
— Retrieve client's preferred 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
— Set action name
Yaf_Request_Abstract::setBaseUri
— Set base URI
Yaf_Request_Abstract::setControllerName
— Set controller name
Yaf_Request_Abstract::setDispatched
— The setDispatched purpose
Yaf_Request_Abstract::setModuleName
— Set module name
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::__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
— The Yaf_Request_Simple class
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
— The Yaf_Response_Abstract class
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::__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
— The Yaf_Route_Interface class
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
— The Yaf_Route_Regex class
Yaf_Route_Regex::assemble
— Assemble a url
Yaf_Route_Regex::__construct
— Yaf_Route_Regex constructor
Yaf_Route_Regex::route
— The route purpose
Yaf_Route_Rewrite
— The Yaf_Route_Rewrite class
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
— The Yaf_Route_Simple class
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
— The Yaf_Route_Static class
Yaf_Route_Static::assemble
— Assemble a url
Yaf_Route_Static::match
— The match purpose
Yaf_Route_Static::route
— Route a request
Yaf_Route_Supervar
— The Yaf_Route_Supervar class
Yaf_Route_Supervar::assemble
— Assemble a url
Yaf_Route_Supervar::__construct
— The __construct purpose
Yaf_Route_Supervar::route
— The route purpose
Yaf_Session
— The Yaf_Session class
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::start
— The start purpose
Yaf_Session::__unset
— The __unset purpose
Yaf_Session::valid
— The valid purpose
Yaf_Exception
— The Yaf_Exception class
Yaf_Exception::__construct
— The __construct purpose
Yaf_Exception::getPrevious
— The getPrevious purpose
Yaf_Exception_TypeError
— The Yaf_Exception_TypeError class
Yaf_Exception_StartupError
— The Yaf_Exception_StartupError class
Yaf_Exception_DispatchFailed
— The Yaf_Exception_DispatchFailed class
Yaf_Exception_RouterFailed
— The Yaf_Exception_RouterFailed class
Yaf_Exception_LoadFailed
— The Yaf_Exception_LoadFailed class
Yaf_Exception_LoadFailed_Module
— The Yaf_Exception_LoadFailed_Module class
Yaf_Exception_LoadFailed_Controller
— The Yaf_Exception_LoadFailed_Controller class
Yaf_Exception_LoadFailed_Action
— The Yaf_Exception_LoadFailed_Action class
Yaf_Exception_LoadFailed_View
— The Yaf_Exception_LoadFailed_View class
Found A Problem?
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google