UpdateDynamicSearchRuleQuery
in package
FinalYes
Tags
Table of Contents
Properties
- $uid : string
- $actions : array<int, SearchRuleAction>|null
- $active : bool|null
- $conditions : SearchRuleConditions|null
- $description : string|null
- $hasActions : bool
- $hasActive : bool
- $hasConditions : bool
- $hasDescription : bool
- $hasPrecedence : bool
- $precedence : int|null
Methods
- __construct() : mixed
- setActions() : $this
- setActive() : $this
- setConditions() : $this
- setDescription() : $this
- setPrecedence() : $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
SearchRuleConditions|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
$hasPrecedence
private
bool
$hasPrecedence
= false
$precedence
private
int|null
$precedence
= 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(SearchRuleConditions|null $conditions) : $this
Parameters
- $conditions : SearchRuleConditions|null
Return values
$thissetDescription()
public
setDescription(string|null $description) : $this
Parameters
- $description : string|null
Return values
$thissetPrecedence()
public
setPrecedence(int|null $precedence) : $this
Parameters
- $precedence : int|null
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>