Class \Scrivo\Action

Defined in: Action.php.


Constructor summary

Attr. Name / Description
public

Action(, , , )

Constant summary

Name Description
ACTION
AUTH
DOWNLOAD
FAIL
FILE
FORWARD
PARAMS
SUCCESS
TYPE
VIEW
WARN
XHR

Member summary

Attr. Type Name Description
private $action
private $auth
protected $context
private $file
private $forward
protected $parameters
private $result
private $resultData
protected $session
private $type

Method summary

Attr. Type Name / Description
public mixed

__get($name)

Implementation of the readable properties using the PHP magic method __get().

public static

create(, , , )

public

forward()

public

getView()

public

getXhr()

public

prepareXhr()

public

setParameters()

public

setResult(, , )

 


Constructor

public Action(, , , =null)

Parameters:

Type Name Def. Description
$context $context
$action $action
$userStatus $userStatus
$session $session null

Constants

ACTION

Value: 10

AUTH

Value: 8

DOWNLOAD

Value: 11

FAIL

Value: 6

FILE

Value: 4

FORWARD

Value: 2

PARAMS

Value: 9

SUCCESS

Value: 5

TYPE

Value: 3

VIEW

Value: 1

WARN

Value: 7

XHR

Value: 12


Members


				
private $action

Inital value: null


				
private $auth

Inital value: \Scrivo\User::STATUS_MEMBER


				
protected $context

Inital value: null


				
private $file

Inital value: null


				
private $forward

Inital value: array()


				
protected $parameters

Inital value: null


				
private $result

Inital value: self::FAIL


				
private $resultData

Inital value: null


				
protected $session

Inital value: null


				
private $type

Inital value: null


Methods

public mixed __get(string $name)

Implementation of the readable properties using the PHP magic method __get().

Parameters:

Type Name Def. Description
string $name

The name of the property to get.

Returns:

mixed Implementation of the readable properties using the PHP magic method __get().

public static create(, , , )

Parameters:

Type Name Def. Description
$context $context
$action $action
$userStatus $userStatus
$session $session
public forward()
public getView()
public getXhr()
public prepareXhr()

Parameters:

Type Name Def. Description
$data $data
public setParameters()

Parameters:

Type Name Def. Description
$arr $arr
public setResult(, =null, =null=null)

Parameters:

Type Name Def. Description
$res $res
$result $result null
$form_data $form_data null

Documentation generated by phpDocumentor 2.0.0a12 and ScrivoDocumentor on August 29, 2013