/** * Search the acl.xml file in module folder and call methods for parse it * @param Module $module The enabled module */ public function load(Module $module) { $this->xmlFilePath = $module->getAbsoluteConfigPath() . DS . "acl.xml"; if (file_exists($this->xmlFilePath)) { $xml = $this->parseFile($this->xmlFilePath); $xml->registerXPathNamespace('config', 'http://thelia.net/acl'); $this->parseAcls($xml, $module); $this->parseCustomerGroups($xml); } }