menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class AdiantiCoreApplication

Description

Basic structure to run a web application

Located in /core/AdiantiCoreApplication.php (line 22)


	
			
Method Summary
static buildHttpQuery ($class, [$method = NULL], [$parameters = NULL])
static errorHandler ($errno, $errstr, $errfile, $errline)
static executeMethod ($class, [$method = NULL], [$parameters = NULL])
static getRouter ()
static gotoPage ($class, [$method = NULL], [$parameters = NULL], [$callback = NULL])
static loadPage ($class, [$method = NULL], [$parameters = NULL])
static postData ($formName, $class, [$method = NULL], [$parameters = NULL])
static processRequest ($template)
static registerPage ($page)
static reload ()
static run ([$debug = FALSE])
static setRouter (Callable$callback)
Methods
static buildHttpQuery (line 199)

Build HTTP Query

  • access: public
static buildHttpQuery ($class, [$method = NULL], [$parameters = NULL])
  • $class: class name
  • $method: method name
  • $parameters: array of parameters
static errorHandler (line 253)

Handle Catchable Errors

  • access: public
static errorHandler ($errno, $errstr, $errfile, $errline)
  • $errno
  • $errstr
  • $errfile
  • $errline
static executeMethod (line 124)

Execute a specific method of a class with parameters

  • access: public
static executeMethod ($class, [$method = NULL], [$parameters = NULL])
  • $class: class name
  • $method: method name
  • $parameters: array of parameters
static getRouter (line 112)

Get router callback

  • access: public
static getRouter ()
static gotoPage (line 151)

Goto a page

  • access: public
static gotoPage ($class, [$method = NULL], [$parameters = NULL], [$callback = NULL])
  • $class: class name
  • $method: method name
  • $parameters: array of parameters
  • $callback
static loadPage (line 166)

Load a page

  • access: public
static loadPage ($class, [$method = NULL], [$parameters = NULL])
  • $class: class name
  • $method: method name
  • $parameters: array of parameters
static postData (line 180)

Post data

  • access: public
static postData ($formName, $class, [$method = NULL], [$parameters = NULL])
  • $formName: class name
  • $class: method name
  • $method: array of parameters
  • $parameters
static processRequest (line 132)

Process request and insert the result it into template

  • access: public
static processRequest ($template)
  • $template
static registerPage (line 245)

Register URL

  • access: public
static registerPage ($page)
  • $page: URL to be registered
static reload (line 235)

Reload application

  • access: public
static reload ()
static run (line 26)
  • access: public
static run ([$debug = FALSE])
  • $debug
static setRouter (line 104)

Set router callback

  • access: public
static setRouter (Callable$callback)
  • Callable$callback