Admin_Bootstrap::_initAclStorage PHP Method

_initAclStorage() protected method

Init acl storage
protected _initAclStorage ( )
    protected function _initAclStorage()
    {
        $doctrine = Zend_Registry::get('container')->getService('doctrine');
        $this->bootstrap('acl');
        $acl = $this->getResource('acl');
        $storage = new Newscoop\Acl\Storage($doctrine);
        $acl->setStorage($storage);
        Zend_Registry::set('acl', $acl);
    }