Arikaim CMS

ActionInterface
in

Action interface

Table of Contents

Methods

get()  : mixed
Get result field
getError()  : mixed
Get execution error
hasError()  : bool
Return true if action is executed successful
option()  : ActionInterface
Set option
run()  : mixed
Run action
setOptions()  : void
Set options
toArray()  : array<string|int, mixed>
Convert to array

Methods

get()

Get result field

public get(string $name[, mixed $default = null ]) : mixed
Parameters
$name : string
$default : mixed = null

hasError()

Return true if action is executed successful

public hasError() : bool
Return values
bool

run()

Run action

public run(mixed ...$params) : mixed
Parameters
$params : mixed

setOptions()

Set options

public setOptions(array<string|int, mixed> $options) : void
Parameters
$options : array<string|int, mixed>

toArray()

Convert to array

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results