Action
extends Model
in package
implements
ActionInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- $active : bool
- $dateCreated : DateTime
- $dateUpdated : DateTime
- $handle : string
- $id : int
- $order : int
- $trigger_id : int
- $uid : string
- $_trigger : TriggerInterface
- defineRules() : array<string|int, mixed>
- getConfig() : array<string|int, mixed>
- Get project config
- getTrigger() : TriggerInterface|null
- Trigger getter
- populateFromData() : mixed
- Populate action from array of data
- setData() : mixed
- Data setter
- setTrigger() : mixed
- Trigger setter
- baseAttributes() : array<string|int, mixed>
- Get all base attributes, all attributes not in this array will be considered data
Properties
$active
public
bool
$active
= true
$dateCreated
public
DateTime
$dateCreated
$dateUpdated
public
DateTime
$dateUpdated
$handle
public
string
$handle
$id
public
int
$id
$order
public
int
$order
$trigger_id
public
int
$trigger_id
$uid
public
string
$uid
$_trigger
protected
TriggerInterface
$_trigger
Methods
defineRules()
public
defineRules() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getConfig()
Get project config
public
getConfig() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getTrigger()
Trigger getter
public
getTrigger() : TriggerInterface|null
Tags
Return values
TriggerInterface|null —populateFromData()
Populate action from array of data
public
populateFromData(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
Tags
Return values
mixed —setData()
Data setter
public
setData(mixed $data) : mixed
Parameters
- $data : mixed
Tags
Return values
mixed —setTrigger()
Trigger setter
public
setTrigger(TriggerInterface $trigger) : mixed
Parameters
- $trigger : TriggerInterface
Tags
Return values
mixed —baseAttributes()
Get all base attributes, all attributes not in this array will be considered data
protected
baseAttributes() : array<string|int, mixed>