Bitrix API

BotProvider extends BaseProvider

Table of Contents

Methods

__construct()  : mixed
doSearch()  : void
fillDialog()  : void
getBotCollection()  : EO_User_Collection
getBotItems()  : array<string|int, mixed>
getBots()  : EO_User_Collection
getChildren()  : void
getItems()  : array<string|int, Item>
getOption()  : mixed
getOptions()  : array<string|int, mixed>
getPreselectedItems()  : array<string|int, Item>
getSelectedItems()  : array<string|int, Item>
handleBeforeItemSave()  : void
isAvailable()  : bool
makeBotItems()  : array<string|int, mixed>
makeItem()  : Item
makeItems()  : array<string|int, mixed>
shouldFillDialog()  : bool

Methods

__construct()

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []

getBotCollection()

public getBotCollection([array<string|int, mixed> $options = [] ]) : EO_User_Collection
Parameters
$options : array<string|int, mixed> = []
Return values
EO_User_Collection

getBotItems()

public getBotItems([array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
$options : array<string|int, mixed> = []
Return values
array<string|int, mixed>

getBots()

public static getBots([array<string|int, mixed> $options = [] ]) : EO_User_Collection
Parameters
$options : array<string|int, mixed> = []
Return values
EO_User_Collection

getItems()

public getItems(array<string|int, mixed> $ids) : array<string|int, Item>
Parameters
$ids : array<string|int, mixed>
Return values
array<string|int, Item>

getOption()

public getOption(string $option[, mixed $defaultValue = null ]) : mixed
Parameters
$option : string
$defaultValue : mixed = null

getOptions()

public getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPreselectedItems()

public getPreselectedItems(array<string|int, mixed> $ids) : array<string|int, Item>
Parameters
$ids : array<string|int, mixed>
Return values
array<string|int, Item>

getSelectedItems()

public getSelectedItems(array<string|int, mixed> $ids) : array<string|int, Item>
Parameters
$ids : array<string|int, mixed>
Return values
array<string|int, Item>

isAvailable()

public isAvailable() : bool
Return values
bool

makeBotItems()

public makeBotItems(EO_User_Collection $bots[, array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
$bots : EO_User_Collection
$options : array<string|int, mixed> = []
Return values
array<string|int, mixed>

makeItem()

public static makeItem(EO_User $bot[, array<string|int, mixed> $options = [] ]) : Item
Parameters
$bot : EO_User
$options : array<string|int, mixed> = []
Return values
Item

makeItems()

public static makeItems(EO_User_Collection $bots[, array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
$bots : EO_User_Collection
$options : array<string|int, mixed> = []
Return values
array<string|int, mixed>

shouldFillDialog()

public shouldFillDialog() : bool
Return values
bool

        
On this page

Search results