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 TAction

Description

Structure to encapsulate an action

Located in /control/TAction.php (line 18)


	
			
Direct descendents
Class Description
TDataGridAction Represents an action inside a datagrid
Variable Summary
mixed $action
mixed $param
mixed $properties
Method Summary
__construct ($action, [$parameters = null])
getParameter ($param)
getProperty ($property)
prepare ($object)
serialize ([$format_action = TRUE])
setParameter ($param, $value)
setParameters ($parameters)
setProperty ($property, $value)
Variables
mixed $action (line 20)
  • access: protected
mixed $param (line 21)
  • access: protected
mixed $properties (line 22)
  • access: protected
Methods
Constructor __construct (line 29)

Class Constructor

  • access: public
__construct ($action, [$parameters = null])
  • $action: Callback to be executed
  • $parameters: = array of parameters
getAction (line 115)

Returns the current calback

  • access: public
getAction ()
getParameter (line 95)

Returns a parameter

  • access: public
getParameter ($param)
  • $param: = parameter name
getParameters (line 107)

Return the Action Parameters

  • access: public
getParameters ()
getProperty (line 131)

Get property

  • access: public
getProperty ($property)
  • $property
isStatic (line 224)

Returns if the action is static

  • access: public
isStatic ()
prepare (line 140)

Prepare action for use over an object

  • access: public
prepare ($object)
  • $object: Data Object

Redefined in descendants as:
serialize (line 181)

Converts the action into an URL

  • access: public
serialize ([$format_action = TRUE])
  • $format_action: = format action with document or javascript (ajax=no)

Redefined in descendants as:
setParameter (line 74)

Adds a parameter to the action

  • access: public
setParameter ($param, $value)
  • $param: = parameter name
  • $value: = parameter value
setParameters (line 83)

Set the parameters for the action

  • access: public
setParameters ($parameters)
  • $parameters: = array of parameters
setProperty (line 123)

Set property

  • access: public
setProperty ($property, $value)
  • $property
  • $value
toString (line 48)

Returns the action as a string

  • access: public
toString ()