AdiantiCoreApplication
in package
Basic structure to run a web application
Tags
Table of Contents
Properties
- $action_verification : mixed
- $debug : mixed
- $request_id : mixed
- $router : mixed
Methods
- buildHttpQuery() : mixed
- Build HTTP Query
- errorHandler() : mixed
- Handle Catchable Errors
- execute() : mixed
- Execute internal method
- executeMethod() : mixed
- Execute a specific method of a class with parameters
- filterInput() : mixed
- Filter specific framework commands
- getActionVerification() : mixed
- Get action_verification callback
- getDebugMode() : mixed
- Returns the debug mode
- getHeaders() : mixed
- Get request headers
- getRequestId() : mixed
- Returns the execution id
- getRouter() : mixed
- Get router callback
- gotoPage() : mixed
- Goto a page
- loadPage() : mixed
- Load a page
- loadPageURL() : mixed
- Load a page url
- postData() : mixed
- Post data
- processRequest() : mixed
- Process request and insert the result it into template
- registerPage() : mixed
- Register URL
- reload() : mixed
- Reload application
- run() : mixed
- Execute class/method based on request
- setActionVerification() : mixed
- Set action_verification callback
- setRouter() : mixed
- Set router callback
Properties
$action_verification
private
static mixed
$action_verification
$debug
private
static mixed
$debug
$request_id
private
static mixed
$request_id
$router
private
static mixed
$router
Methods
buildHttpQuery()
Build HTTP Query
public
static buildHttpQuery( $class[, $method = NULL ][, $parameters = NULL ]) : mixed
Parameters
errorHandler()
Handle Catchable Errors
public
static errorHandler(mixed $errno, mixed $errstr, mixed $errfile, mixed $errline) : mixed
Parameters
- $errno : mixed
- $errstr : mixed
- $errfile : mixed
- $errline : mixed
execute()
Execute internal method
public
static execute(mixed $class, mixed $method, mixed $request[, mixed $endpoint = null ]) : mixed
Parameters
- $class : mixed
- $method : mixed
- $request : mixed
- $endpoint : mixed = null
executeMethod()
Execute a specific method of a class with parameters
public
static executeMethod( $class[, $method = NULL ][, $parameters = NULL ]) : mixed
Parameters
filterInput()
Filter specific framework commands
public
static filterInput() : mixed
getActionVerification()
Get action_verification callback
public
static getActionVerification() : mixed
getDebugMode()
Returns the debug mode
public
static getDebugMode() : mixed
getHeaders()
Get request headers
public
static getHeaders() : mixed
getRequestId()
Returns the execution id
public
static getRequestId() : mixed
getRouter()
Get router callback
public
static getRouter() : mixed
gotoPage()
Goto a page
public
static gotoPage( $class[, $method = NULL ][, $parameters = NULL ][, mixed $callback = NULL ]) : mixed
Parameters
loadPage()
Load a page
public
static loadPage( $class[, $method = NULL ][, $parameters = NULL ]) : mixed
Parameters
loadPageURL()
Load a page url
public
static loadPageURL(mixed $query) : mixed
Parameters
- $query : mixed
postData()
Post data
public
static postData(mixed $formName, $class[, $method = NULL ][, $parameters = NULL ]) : mixed
Parameters
processRequest()
Process request and insert the result it into template
public
static processRequest(mixed $template) : mixed
Parameters
- $template : mixed
registerPage()
Register URL
public
static registerPage( $page) : mixed
Parameters
reload()
Reload application
public
static reload() : mixed
run()
Execute class/method based on request
public
static run([ $debug = FALSE ]) : mixed
Parameters
setActionVerification()
Set action_verification callback
public
static setActionVerification(callable $callback) : mixed
Parameters
- $callback : callable
setRouter()
Set router callback
public
static setRouter(callable $callback) : mixed
Parameters
- $callback : callable