RequestEngineMVC
Description
RequestEngine designed for MVC framework
Located in /mvc/libraries/RequestEngineMVC.class.php (line 14)
RequestEngine | --RequestEngineMVC
Method Summary
static RequestEngineMVC
getInstance
()
void
getController
()
Methods
static getInstance (line 32)
Gets the instance
RequestEngineMVC
getInstance
()
Redefinition of:
- RequestEngine::getInstance()
- Use this methode to retrieve a reference on the request object from anywhere in the code
createLink (line 113)
Creates a link to the specified route with all defined GET vars in the URL
void
createLink
([string $controller = Route::CUR], [string $action = Route::CUR])
- string $controller: Can be the name of a controller or a class const of Route
- string $action: Can be the name of an action or a class const of Route
Redefinition of:
- RequestEngine::createLink()
- Returns an URL containing all the currently defined GET parameters
createLinkArgList (line 123)
Creates a link to the specified route with, with names of GET vars as parameters of the method
void
createLinkArgList
([string $controller = Route::CUR], [string $action = Route::CUR])
- string $controller: Can be the name of a controller or a class const of Route
- string $action: Can be the name of an action or a class const of Route
Redefinition of:
- RequestEngine::createLinkArgList()
- Returns an URL with the request parameters specified as method arguments (eg. )
getController (line 71)
void
getController
()
redirectManialink (line 81)
Redirects to the specified route with all defined GET vars in the URL
void
redirectManialink
([string $controller = Route::CUR], [string $action = Route::CUR])
- string $controller: Can be the name of a controller or a class const of Route
- string $action: Can be the name of an action or a class const of Route
Redefinition of:
- RequestEngine::redirectManialink()
- Creates a Manialink redirection to the specified file with GET parameters specified as method arguments.
redirectManialinkArgList (line 92)
Redirects to the specified route with, with names of GET vars as parameters of the method
void
redirectManialinkArgList
(string $controller, string $action)
- string $controller: Can be the name of a controller or a class const of Route
- string $action: Can be the name of an action or a class const of Route
Inherited Methods
Inherited From RequestEngine
RequestEngine::createAbsoluteLinkArgList()
RequestEngine::createLink()
RequestEngine::createLinkArgList()
RequestEngine::delete()
RequestEngine::get()
RequestEngine::getInstance()
RequestEngine::getReferer()
RequestEngine::getStrict()
RequestEngine::redirectManialink()
RequestEngine::redirectManialinkAbsolute()
RequestEngine::redirectToReferer()
RequestEngine::registerGlobalParam()
RequestEngine::registerProtectedParam()
RequestEngine::registerReferer()
RequestEngine::restore()
RequestEngine::set()