getCacheTtl
integer public \Bitrix\Main\Entity\Base::getCacheTtl( integer $ttl );
This non-static method returns TTL cache for entity with possible limitation from the file settings.php:
'cache_flags' => array('value'=> array( "b_group_max_ttl" => 200, "b_group_min_ttl" => 100, ))
Maximum value has higher priority.
Parameters
Parameter | Description | Version |
---|---|---|
$ttl | Preferred TTL |
Example
© «Bitrix24», 2001-2024
Up