/** * * */ function __construct(&$modx) { parent::__construct($modx); }
/** * * */ function __construct(&$modx, $config) { parent::__construct($modx); $this->config = array_merge(array("lang" => "russian-UTF-8", "oneLevelMenu" => false, "id_prefix" => ""), $config); }