Class \Scrivo\Action
Defined in: Action.php.
Attr. | Name / Description |
---|---|
public |
Action(, , , ) |
Name | Description |
---|---|
ACTION | |
AUTH | |
DOWNLOAD | |
FAIL | |
FILE | |
FORWARD | |
PARAMS | |
SUCCESS | |
TYPE | |
VIEW | |
WARN | |
XHR |
Attr. | Type | Name | Description |
---|---|---|---|
private | $action | ||
private | $auth | ||
protected | $context | ||
private | $file | ||
private | $forward | ||
protected | $parameters | ||
private | $result | ||
private | $resultData | ||
protected | $session | ||
private | $type |
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 | ||
public | ||
public |
setResult(, , ) |
Constructor
- public Action(, , , =null)
-
Parameters:
Type Name Def. Description $context $context $action $action $userStatus $userStatus $session $session null View source: Action.php line 74.
Constants
- ACTION
-
Value: 10
View source: Action.php line 49.
- AUTH
-
Value: 8
View source: Action.php line 47.
- DOWNLOAD
-
Value: 11
View source: Action.php line 50.
- FAIL
-
Value: 6
View source: Action.php line 45.
- FILE
-
Value: 4
View source: Action.php line 43.
- FORWARD
-
Value: 2
View source: Action.php line 41.
- PARAMS
-
Value: 9
View source: Action.php line 48.
- SUCCESS
-
Value: 5
View source: Action.php line 44.
- TYPE
-
Value: 3
View source: Action.php line 42.
- VIEW
-
Value: 1
View source: Action.php line 40.
- WARN
-
Value: 7
View source: Action.php line 46.
- XHR
-
Value: 12
View source: Action.php line 51.
Members
- private $action
-
Inital value: null
View source: Action.php line 60.
- private $auth
-
Inital value: \Scrivo\User::STATUS_MEMBER
View source: Action.php line 57.
- protected $context
-
Inital value: null
View source: Action.php line 53.
- private $file
-
Inital value: null
View source: Action.php line 59.
- private $forward
-
Inital value: array()
View source: Action.php line 61.
- protected $parameters
-
Inital value: null
View source: Action.php line 55.
- private $result
-
Inital value: self::FAIL
View source: Action.php line 62.
- private $resultData
-
Inital value: null
View source: Action.php line 63.
- protected $session
-
Inital value: null
View source: Action.php line 54.
- private $type
-
Inital value: null
View source: Action.php line 58.
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().
View source: Action.php line 121.
- public static create(, , , )
-
Parameters:
Type Name Def. Description $context $context $action $action $userStatus $userStatus $session $session View source: Action.php line 65.
- public forward()
-
View source: Action.php line 149.
- public getView()
-
View source: Action.php line 163.
- public getXhr()
-
View source: Action.php line 171.
- public prepareXhr()
-
Parameters:
Type Name Def. Description $data $data View source: Action.php line 183.
- public setParameters()
-
Parameters:
Type Name Def. Description $arr $arr View source: Action.php line 128.
- public setResult(, =null, =null=null)
-
Parameters:
Type Name Def. Description $res $res $result $result null $form_data $form_data null View source: Action.php line 132.
Documentation generated by phpDocumentor 2.0.0a12 and ScrivoDocumentor on August 29, 2013