/** * Initiate Shopware ACL Component (inherits from zend_acl) * * @return Shopware_Components_Acl */ public function onInitResourceAcl() { if(!Shopware()->Bootstrap()->issetResource('Db')) { return null; } $acl = new Shopware_Components_Acl(); $acl->initShopwareAclTree(Shopware()->Db()); return $acl; }