Dialog
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Methods
-
__construct()
: mixed
-
addEntity()
: mixed
-
addItem()
: mixed
-
addItems()
: mixed
-
addRecentItem()
: mixed
-
addRecentItems()
: mixed
-
addTab()
: void
-
applyFilters()
: void
-
cleanRecentItems()
: RecentCollection
-
createHiddenItem()
: Item
-
getContext()
: string|null
-
getCurrentUserId()
: int
-
getEntities()
: array<string|int, Entity>
-
getEntity()
: Entity
-
getFooter()
: string|null
-
getFooterOptions()
: array<string|int, mixed>|null
-
getGlobalRecentItems()
: RecentCollection
-
getHeader()
: string|null
-
getHeaderOptions()
: array<string|int, mixed>|null
-
getId()
: string|null
-
getItemCollection()
: ItemCollection
-
getItems()
: ItemCollection
-
getPreselectedCollection()
: PreselectedCollection
-
getPreselectedItems()
: ItemCollection
-
getRecentItems()
: RecentCollection
-
getSelectedItems()
: ItemCollection
-
getTab()
: Tab|null
-
getTabs()
: array<string|int, Tab>
-
handleItemAdd()
: void
-
jsonSerialize()
: mixed
-
removeTab()
: void
-
saveRecentItems()
: mixed
-
setFooter()
: mixed
-
setHeader()
: mixed
-
setPreselectedItems()
: mixed
-
shouldClearUnavailableItems()
: bool
__construct()
public
__construct(array<string|int, mixed> $options) : mixed
Parameters
-
$options
: array<string|int, mixed>
-
addEntity()
public
addEntity(Entity $entity) : mixed
Parameters
-
$entity
: Entity
-
addItem()
public
addItem(Item $item) : mixed
Parameters
-
$item
: Item
-
addItems()
public
addItems(array<string|int, mixed> $items) : mixed
Parameters
-
$items
: array<string|int, mixed>
-
addRecentItem()
public
addRecentItem(Item $item) : mixed
Parameters
-
$item
: Item
-
addRecentItems()
public
addRecentItems(array<string|int, mixed> $items) : mixed
Parameters
-
$items
: array<string|int, mixed>
-
addTab()
public
addTab(Tab $tab) : void
Parameters
-
$tab
: Tab
-
applyFilters()
public
applyFilters() : void
cleanRecentItems()
public
cleanRecentItems() : RecentCollection
createHiddenItem()
public
static createHiddenItem(mixed $id, mixed $entityId) : Item
Parameters
-
$id
: mixed
-
-
$entityId
: mixed
-
getContext()
public
getContext() : string|null
Return values
string|null
getCurrentUserId()
public
getCurrentUserId() : int
getEntities()
public
getEntities() : array<string|int, Entity>
Return values
array<string|int, Entity>
getEntity()
public
getEntity(string $entityId) : Entity
Parameters
-
$entityId
: string
-
public
getFooter() : string|null
Return values
string|null
public
getFooterOptions() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getGlobalRecentItems()
public
getGlobalRecentItems() : RecentCollection
public
getHeader() : string|null
Return values
string|null
public
getHeaderOptions() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getId()
public
getId() : string|null
Return values
string|null
getItemCollection()
public
getItemCollection() : ItemCollection
getItems()
public
static getItems(array<string|int, mixed> $ids[, array<string|int, mixed> $options = [] ]) : ItemCollection
Parameters
-
$ids
: array<string|int, mixed>
-
-
$options
: array<string|int, mixed>
= []
-
getPreselectedCollection()
public
getPreselectedCollection() : PreselectedCollection
getPreselectedItems()
public
static getPreselectedItems(array<string|int, mixed> $ids[, array<string|int, mixed> $options = [] ]) : ItemCollection
Parameters
-
$ids
: array<string|int, mixed>
-
-
$options
: array<string|int, mixed>
= []
-
getRecentItems()
public
getRecentItems() : RecentCollection
getSelectedItems()
public
static getSelectedItems(array<string|int, mixed> $ids[, array<string|int, mixed> $options = [] ]) : ItemCollection
Parameters
-
$ids
: array<string|int, mixed>
-
-
$options
: array<string|int, mixed>
= []
-
-
see
-
Dialog::getPreselectedCollection()
getTab()
public
getTab(string $tabId) : Tab|null
Parameters
-
$tabId
: string
-
getTabs()
public
getTabs() : array<string|int, Tab>
Return values
array<string|int, Tab>
handleItemAdd()
public
handleItemAdd(Item $item) : void
Parameters
-
$item
: Item
-
jsonSerialize()
public
jsonSerialize() : mixed
removeTab()
public
removeTab(string $id) : void
Parameters
-
$id
: string
-
saveRecentItems()
public
saveRecentItems(array<string|int, mixed> $recentItems) : mixed
Parameters
-
$recentItems
: array<string|int, mixed>
-
public
setFooter(string $footer[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
-
$footer
: string
-
-
$options
: array<string|int, mixed>
= []
-
public
setHeader(string $header[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
-
$header
: string
-
-
$options
: array<string|int, mixed>
= []
-
setPreselectedItems()
public
setPreselectedItems(array<string|int, mixed> $preselectedItems) : mixed
Parameters
-
$preselectedItems
: array<string|int, mixed>
-
shouldClearUnavailableItems()
public
shouldClearUnavailableItems() : bool