class Action implements Cacheable

Class Action

Core action abstract class

Traits

Methods

static Registry
getRegistry()

Return action registry

static 
call(array $input = array(), $level)

No description

static array
getInput(array $data = array())

No description

static Config
getConfig()

Get action config

static Repository
getRepository()

Return action repository

static mixed
getInputParam($name, $value, $param)

Return valid input value

static Action
create()

Get action object by name

setInput(array $input)

Init input params

getView()

No description

array
run(array $input)

Action config

array
getActions(array $rawActions)

No description

setOutput(array $output)

No description

null
getTtl()

No description

validate($value)

Validate cacheable object

invalidate()

Invalidate cacheable object

Details

at line 96
static Registry getRegistry()

Return action registry

Return Value

Registry

at line 101
static call(array $input = array(), $level)

Parameters

array $input
$level

at line 227
static array getInput(array $data = array())

Parameters

array $data

Return Value

array

Exceptions

Redirect

at line 296
static Config getConfig()

Get action config

Return Value

Config

at line 322
static Repository getRepository()

Return action repository

Return Value

Repository

at line 381
static mixed getInputParam($name, $value, $param)

Return valid input value

Parameters

$name
$value
$param

Return Value

mixed

at line 424
static Action create()

Get action object by name

Return Value

Action

Exceptions

Redirect

at line 441
setInput(array $input)

Init input params

Parameters

array $input

at line 502
View getView()

Return Value

View

at line 552
abstract array run(array $input)

Action config

Parameters

array $input

Return Value

array

at line 558
array getActions(array $rawActions)

Parameters

array $rawActions

Return Value

array

at line 604
setOutput(array $output)

Parameters

array $output

at line 618
null getTtl()

Return Value

null

at line 655
Cacheable validate($value)

Validate cacheable object

Parameters

$value

Return Value

Cacheable

at line 670
Cacheable invalidate()

Invalidate cacheable object

Return Value

Cacheable