TAction
in package
Structure to encapsulate an action
Tags
Table of Contents
Properties
- $action : mixed
- $param : mixed
- $properties : mixed
Methods
- __construct() : mixed
- Class Constructor
- cloneWithParameters() : mixed
- getAction() : mixed
- Returns the current calback
- getFieldParameters() : mixed
- Return fields used in parameters
- getParameter() : mixed
- Returns a parameter
- getParameters() : mixed
- Return the Action Parameters
- getProperty() : mixed
- Get property
- isStatic() : mixed
- Returns if the action is static
- prepare() : mixed
- Prepare action for use over an object
- preserveRequestParameters() : mixed
- Keep REQUEST parameters
- serialize() : mixed
- Converts the action into an URL
- setParameter() : mixed
- Adds a parameter to the action
- setParameters() : mixed
- Set the parameters for the action
- setProperty() : mixed
- Set property
- toString() : mixed
- Returns the action as a string
- validate() : mixed
- Validate action
- replace() : mixed
- Replace a string with object properties within {pattern}
Properties
$action
protected
mixed
$action
$param
protected
mixed
$param
$properties
protected
mixed
$properties
Methods
__construct()
Class Constructor
public
__construct( $action[, $parameters = null ]) : mixed
Parameters
cloneWithParameters()
public
cloneWithParameters([mixed $parameters = [] ]) : mixed
Parameters
- $parameters : mixed = []
getAction()
Returns the current calback
public
getAction() : mixed
getFieldParameters()
Return fields used in parameters
public
getFieldParameters() : mixed
getParameter()
Returns a parameter
public
getParameter( $param) : mixed
Parameters
getParameters()
Return the Action Parameters
public
getParameters() : mixed
getProperty()
Get property
public
getProperty(mixed $property) : mixed
Parameters
- $property : mixed
isStatic()
Returns if the action is static
public
isStatic() : mixed
prepare()
Prepare action for use over an object
public
prepare( $object) : mixed
Parameters
preserveRequestParameters()
Keep REQUEST parameters
public
preserveRequestParameters([mixed $request_parameters = [] ]) : mixed
Parameters
- $request_parameters : mixed = []
serialize()
Converts the action into an URL
public
serialize([ $format_action = TRUE ][, mixed $check_permission = FALSE ]) : mixed
Parameters
setParameter()
Adds a parameter to the action
public
setParameter( $param, $value) : mixed
Parameters
setParameters()
Set the parameters for the action
public
setParameters( $parameters) : mixed
Parameters
setProperty()
Set property
public
setProperty(mixed $property, mixed $value) : mixed
Parameters
- $property : mixed
- $value : mixed
toString()
Returns the action as a string
public
toString() : mixed
validate()
Validate action
public
validate() : mixed
replace()
Replace a string with object properties within {pattern}
private
replace( $content, $object) : mixed