getLastUsed
Attention! We strongly recommend first to learn more about Sites module REST documentation to understand how the module functions (with REST available in Bitrix24 Self-hosted editions). View this documentation as useful source when working with Bitrix24 Self-hosted editions and find out more details about API and only REST is not enough.
public static function getLastUsed( $count = 10 )
Returns IDs of most recently used blocks (attached to current user).
Parameters
Parameter | Description | Version |
---|---|---|
count | Number of returned entries. |
Examples
if (\Bitrix\Main\Loader::includeModule('landing')) { print_r(\Bitrix\Landing\Block::getLastUsed()); }
© «Bitrix24», 2001-2024