API Documentation

Zend/Acl/Assert/Interface.php

Show: inherited
    Table of Contents

    Zend Framework

    LICENSE

    This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

    Category
    Zend  
    Copyright
    Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  
    Package
    Zend_Acl  
    Version
    $Id: Interface.php 24594 2012-01-05 21:27:01Z matthew $  

    \Zend_Acl_Assert_Interface

    Package: Zend\Acl

    Category
    Zend  
    Copyright
    Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  

    Methods

    methodpublicassert( \Zend_Acl $acl, \Zend_Acl_Role_Interface $role = null, \Zend_Acl_Resource_Interface $resource = null, string $privilege = null ) : boolean

    Returns true if and only if the assertion conditions are met

    This method is passed the ACL, Role, Resource, and privilege to which the authorization query applies. If the $role, $resource, or $privilege parameters are null, it means that the query applies to all Roles, Resources, or privileges, respectively.

    Parameters
    Name Type Description
    $acl \Zend_Acl
    $role \Zend_Acl_Role_Interface
    $resource \Zend_Acl_Resource_Interface
    $privilege string
    Returns
    Type Description
    boolean
    Documentation was generated by DocBlox 0.15.1.