Horde_Perms_Permission_Kolab::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Horde_Perms_Permission_Kolab_Storage $storage, Horde_Group_Base $groups )
$storage Horde_Perms_Permission_Kolab_Storage The storage object represented by this permission instance.
$groups Horde_Group_Base The group handler.
    public function __construct(Horde_Perms_Permission_Kolab_Storage $storage, Horde_Group_Base $groups)
    {
        parent::__construct(__CLASS__ . '::' . $storage->getPermissionId());
        $this->_storage = $storage;
        $this->_groups = $groups;
        $this->data = $this->getCurrentPermissions();
    }