xPDOCacheManager.getCacheProvider
Последнее обновление Feb 7th, 2020 | История страницы | Улучшить эту страницу | Сообщить о проблеме
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
$306 per month—let's make that $500!
Learn morexPDOCacheManager::getCacheProvider¶
Получает экземпляр поставщика, который реализует интерфейс xPDOCache
. По умолчанию используется xPDOFileCache
.
Синтаксис¶
API Docs: http://api.modxcms.com/xpdo/cache/xPDOCacheManager.html#getCacheProvider
void &getCacheProvider ([ $key = ''], [ $options = array()])
Пример¶
$cacheManager = $xpdo->getCacheManager();
$provider = $cacheManager->getCacheProvider('xPDOMemCache');
Смотрите также¶
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
$306 per month—let's make that $500!
Learn more