xPDO.fromCache
Last updated Oct 17th, 2026 | 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 morexPDO::fromCache¶
Retrieves a cached object or collection by its cache signature. Returns the cached value, or null if nothing is stored under that signature.
Syntax¶
mixed fromCache (string $signature, [string $class = ''], [array $options = array()])
Example¶
$data = $xpdo->fromCache($signature);
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










