RecentItem class
Class represents dialog item at the "Recent" tab. Class objects are used in the collection RecentCollection.
Usually, class objects are created using via methods $dialog->addRecentItem() or $dialog->addRecentItems() Dialog class.
Method | Description | Available from version |
---|---|---|
getId(): string | int | Returns item ID. | |
getEntityId(): string | Returns entity ID. | |
getLastUseDate(): ?int | Returns date, when item was the selected last by user. | |
isLoaded(): bool | Returns true when item with similar IDs (objet of class Item) is added to dialog.
| |
isAvailable(): bool | Returns true when item must be displayed at the "Recent" tab.
| |
setAvailable(bool $flag): self | Sets or cancels item display at the "Recent" tab. |
© «Bitrix24», 2001-2024