Jump to main content Jump to doc navigation

modX::getConfig

Get the configuration for the site.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_modx.class.html#%5CmodX::getConfig()

array getConfig ()

Example

Get the site config into an array.

$config = $modx->getConfig();

See Also