Bitrix API

Toolbar

Table of Contents

Methods

clearCache()  : mixed
clearItemsCache()  : void
clearToolbarCache()  : void
collapse()  : void
createOrUpdateItem()  : Result
expand()  : void
get()  : static|null
getCacheId()  : string
getCachePath()  : string
getContext()  : string
getId()  : int
getItem()  : EO_ToolbarItem|null
getItems()  : EO_ToolbarItem_Collection
getOrCreate()  : static
getUserId()  : int
isCollapsed()  : bool
removeAll()  : mixed
removeItem()  : mixed

Methods

clearCache()

public clearCache(string $prefix) : mixed
Parameters
$prefix : string

clearItemsCache()

public clearItemsCache() : void

clearToolbarCache()

public clearToolbarCache() : void

collapse()

public collapse() : void

createOrUpdateItem()

public createOrUpdateItem(array<string|int, mixed> $options) : Result
Parameters
$options : array<string|int, mixed>
Return values
Result

get()

public static get(string $context[, int $userId = 0 ]) : static|null
Parameters
$context : string
$userId : int = 0
Return values
static|null

getCacheId()

public static getCacheId(string $prefix, string $context, int $userId) : string
Parameters
$prefix : string
$context : string
$userId : int
Return values
string

getCachePath()

public static getCachePath(int $userId) : string
Parameters
$userId : int
Return values
string

getContext()

public getContext() : string
Return values
string

getId()

public getId() : int
Return values
int

getItem()

public getItem(string $entityType, string $entityId) : EO_ToolbarItem|null
Parameters
$entityType : string
$entityId : string
Return values
EO_ToolbarItem|null

getItems()

public getItems() : EO_ToolbarItem_Collection
Return values
EO_ToolbarItem_Collection

getOrCreate()

public static getOrCreate(string $context[, int $userId = 0 ]) : static
Parameters
$context : string
$userId : int = 0
Return values
static

getUserId()

public getUserId() : int
Return values
int

isCollapsed()

public isCollapsed() : bool
Return values
bool

removeAll()

public removeAll() : mixed

removeItem()

public removeItem(string $entityType, string $entityId) : mixed
Parameters
$entityType : string
$entityId : string

        
On this page

Search results