Selector
Class Selector
Table of Contents
Methods
- create() : mixed
- Create selector instance.
- get() : array<string|int, mixed>
- Get list.
- getCategories() : array<string|int, mixed>
- Get categories of list.
- getCategorized() : array<string|int, mixed>
- Get categorized list.
- getList() : array<string|int, mixed>
- Get list.
- hasAny() : bool
- Return true if it has templates.
- withDefaultMessageCode() : $this
- With default message code.
- withId() : $this
- With id.
- withMessageCode() : $this
- With message code.
- withTriggers() : $this
- With triggers.
- withTypeId() : $this
- With type ID.
- withVersion() : $this
- With minimal version.
Methods
create()
Create selector instance.
public
static create() : mixed
Tags
get()
Get list.
public
get() : array<string|int, mixed>
Return values
array<string|int, mixed>getCategories()
Get categories of list.
public
getCategories() : array<string|int, mixed>
Return values
array<string|int, mixed>getCategorized()
Get categorized list.
public
getCategorized() : array<string|int, mixed>
Return values
array<string|int, mixed>getList()
Get list.
public
getList() : array<string|int, mixed>
Return values
array<string|int, mixed>hasAny()
Return true if it has templates.
public
hasAny() : bool
Return values
boolwithDefaultMessageCode()
With default message code.
public
withDefaultMessageCode() : $this
Return values
$thiswithId()
With id.
public
withId(int $id) : $this
Parameters
- $id : int
-
Template ID.
Return values
$thiswithMessageCode()
With message code.
public
withMessageCode(string $messageCode) : $this
Parameters
- $messageCode : string
-
Message code.
Return values
$thiswithTriggers()
With triggers.
public
withTriggers(bool $include) : $this
Parameters
- $include : bool
-
Include triggers.
Return values
$thiswithTypeId()
With type ID.
public
withTypeId(int $typeId) : $this
Parameters
- $typeId : int
-
Type ID.
Return values
$thiswithVersion()
With minimal version.
public
withVersion(int $version) : $this
Parameters
- $version : int
-
Version.