Bitrix API

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
@return

static;

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
bool

withDefaultMessageCode()

With default message code.

public withDefaultMessageCode() : $this
Return values
$this

withId()

With id.

public withId(int $id) : $this
Parameters
$id : int

Template ID.

Return values
$this

withMessageCode()

With message code.

public withMessageCode(string $messageCode) : $this
Parameters
$messageCode : string

Message code.

Return values
$this

withTriggers()

With triggers.

public withTriggers(bool $include) : $this
Parameters
$include : bool

Include triggers.

Return values
$this

withTypeId()

With type ID.

public withTypeId(int $typeId) : $this
Parameters
$typeId : int

Type ID.

Return values
$this

withVersion()

With minimal version.

public withVersion(int $version) : $this
Parameters
$version : int

Version.

Return values
$this

        
On this page

Search results