xPDO.setOption
xPDO::setOption
Sets an xPDO configuration option value.
Syntax
API Docs: http://api.modxcms.com/xpdo/xPDO.html#setOption
void setOption (string $key, mixed $value)
Example
Set the DB caching to false.
$xpdo->setOption(xPDO_OPT_CACHE_DB,false);
See Also
Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).