/** * Constructeur qui appel le constructeur parent * * @param filename emplacement du fichier XML de configuration * @return null * @author Florent MONTHEL **/ public function __construct($filename) { parent::__construct($filename); # chargement de l'editeur plxtoolbar ou autre if (isset($this->aConf['editor'])) { $path_editor = PLX_ROOT . ($this->aConf['editor'] == 'plxtoolbar' ? 'core/' : 'addons/editor.') . $this->aConf['editor'] . '/'; if (is_file($path_editor . $this->aConf['editor'] . '.php')) { include_once $path_editor . $this->aConf['editor'] . '.php'; if (class_exists('plxEditor')) { $this->editor = new plxEditor($path_editor); } } } }
/** * Constructeur qui appel le constructeur parent * * @param filename emplacement du fichier XML de configuration * @return null * @author Florent MONTHEL **/ protected function __construct($filename) { parent::__construct($filename); # Hook plugins eval($this->plxPlugins->callHook('plxAdminConstruct')); }