xPDOCache.getCacheKey
Last updated not available | Page history | Improve this page | Report an issue
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 morexPDOCache::getCacheKey¶
Builds the physical cache key for a logical key by combining the cache partition (xPDO::OPT_CACHE_KEY) and the cache prefix (xPDO::OPT_CACHE_PREFIX) with the key itself. This is how entries are namespaced within a provider.
Syntax¶
string getCacheKey (string $key, [array $options = array()])
Example¶
$cacheKey = $provider->getCacheKey('mykey');
See Also¶
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










