xPDOCacheManager.getOption
Последнее обновление not available | История страницы | Улучшить эту страницу | Сообщить о проблеме
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn morexPDOCacheManager::getOption¶
Получает значение опции из настроек менеджера кеша, при отсутствии возвращая значение по умолчанию. Опции кеша обычно передаются при каждом вызове, а не задаются в самом менеджере.
Синтаксис¶
mixed getOption (string $key, [array $options = array()], [mixed $default = null])
Пример¶
$path = $cacheManager->getOption(xPDO::OPT_CACHE_PATH, $options, MODX_CORE_PATH . 'cache/');
Смотрите также¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










