/** * * @param object modx * @param array */ function __construct(&$modx, &$config = array('markup' => array(), 'format' => 'both')) { $this->modx =& $modx; $this->config =& $config; $this->controllers = $this->loadActionMap(); // reverse action map self::$cache_opts = array(xPDO::OPT_CACHE_KEY => self::CACHE_DIR); }