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
clearCache()
public
clearCache(string $prefix) : mixed
Parameters
-
$prefix
: string
-
clearItemsCache()
public
clearItemsCache() : void
public
clearToolbarCache() : void
collapse()
public
collapse() : void
createOrUpdateItem()
public
createOrUpdateItem(array<string|int, mixed> $options) : Result
Parameters
-
$options
: array<string|int, mixed>
-
expand()
public
expand() : void
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
-
getCachePath()
public
static getCachePath(int $userId) : string
Parameters
-
$userId
: int
-
getContext()
public
getContext() : string
getId()
public
getId() : 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
-
getUserId()
public
getUserId() : int
isCollapsed()
public
isCollapsed() : bool
removeAll()
public
removeAll() : mixed
removeItem()
public
removeItem(string $entityType, string $entityId) : mixed
Parameters
-
$entityType
: string
-
-
$entityId
: string
-