/** * Class constructor - autorun of modules, etc ... */ function __construct() { CL::initConfHandler(); $handler = CL::$configHandler; $result = $handler->xpath("/CL_config/CLE_Modules/module[@autorun='1'][@enabled='1'][@installed='1']"); foreach ($result as $module) { $this->load($module); } }