API Documentação da API
Lançado Adianti Framework 7.6!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

AdiantiCoreApplication
in package

Basic structure to run a web application

Tags
version
7.6
author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

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

Methods

buildHttpQuery()

Build HTTP Query

public static buildHttpQuery( $class[,  $method = NULL ][,  $parameters = NULL ]) : mixed
Parameters
$class :

class name

$method : = NULL

method name

$parameters : = NULL

array of 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
$class :

class name

$method : = NULL

method name

$parameters : = NULL

array of parameters

getActionVerification()

Get action_verification callback

public static getActionVerification() : mixed

gotoPage()

Goto a page

public static gotoPage( $class[,  $method = NULL ][,  $parameters = NULL ][, mixed $callback = NULL ]) : mixed
Parameters
$class :

class name

$method : = NULL

method name

$parameters : = NULL

array of parameters

$callback : mixed = NULL

loadPage()

Load a page

public static loadPage( $class[,  $method = NULL ][,  $parameters = NULL ]) : mixed
Parameters
$class :

class name

$method : = NULL

method name

$parameters : = NULL

array of 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
$formName : mixed
$class :

class name

$method : = NULL

method name

$parameters : = NULL

array of 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
$page :

URL to be registered

run()

Execute class/method based on request

public static run([ $debug = FALSE ]) : mixed
Parameters
$debug : = FALSE

Activate Exception debug

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

        
On this page

Search results