UpdateDynamicSearchRuleQuery
in package
FinalYes
Tags
Table of Contents
Properties
- $uid : string
- $actions : array<int, SearchRuleAction>|null
- $active : bool|null
- $conditions : array<int, SearchRuleCondition>|null
- $description : string|null
- $hasActions : bool
- $hasActive : bool
- $hasConditions : bool
- $hasDescription : bool
- $hasPriority : bool
- $priority : int|null
Methods
- __construct() : mixed
- setActions() : $this
- setActive() : $this
- setConditions() : $this
- setDescription() : $this
- setPriority() : $this
- toArray() : array<string|int, mixed>
Properties
$uid read-only
public
string
$uid
$actions
private
array<int, SearchRuleAction>|null
$actions
= null
$active
private
bool|null
$active
= null
$conditions
private
array<int, SearchRuleCondition>|null
$conditions
= null
$description
private
string|null
$description
= null
$hasActions
private
bool
$hasActions
= false
$hasActive
private
bool
$hasActive
= false
$hasConditions
private
bool
$hasConditions
= false
$hasDescription
private
bool
$hasDescription
= false
$hasPriority
private
bool
$hasPriority
= false
$priority
private
int|null
$priority
= null
non-negative-int|null
Methods
__construct()
public
__construct(non-empty-string $uid) : mixed
Parameters
- $uid : non-empty-string
setActions()
public
setActions(array<int, SearchRuleAction>|null $actions) : $this
Parameters
- $actions : array<int, SearchRuleAction>|null
Return values
$thissetActive()
public
setActive(bool $active) : $this
Parameters
- $active : bool
Return values
$thissetConditions()
public
setConditions(array<int, SearchRuleCondition>|null $conditions) : $this
Parameters
- $conditions : array<int, SearchRuleCondition>|null
Return values
$thissetDescription()
public
setDescription(string|null $description) : $this
Parameters
- $description : string|null
Return values
$thissetPriority()
public
setPriority(int|null $priority) : $this
Parameters
- $priority : int|null
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>