Perforce Chronicle 2012.2/486814
API Documentation

User_Form_AclGridOptions Class Reference

This is the acl grid options form. More...

Inheritance diagram for User_Form_AclGridOptions:
Ui_Form_GridOptions P4Cms_Form_PubSubForm P4Cms_Form

List of all members.

Public Member Functions

 getAcl ()
 Get the ACL instance in use by this form.
 setAcl (P4Cms_Acl $acl)
 Set the ACL instance to use.

Protected Attributes

 $_acl = null

Detailed Description

This is the acl grid options form.

Copyright:
2011-2012 Perforce Software. All rights reserved
License:
Please see LICENSE.txt in top-level folder of this distribution.
Version:
2012.2/486814

Member Function Documentation

User_Form_AclGridOptions::getAcl ( )

Get the ACL instance in use by this form.

Returns:
P4Cms_Acl the acl in use by the form.
Exceptions:
P4Cms_Acl_Exceptionif no acl has been set.
    {
        if (!$this->_acl instanceof P4Cms_Acl) {
            throw new P4Cms_Acl_Exception(
                "Cannot get acl. No acl has been set."
            );
        }

        return $this->_acl;
    }
User_Form_AclGridOptions::setAcl ( P4Cms_Acl acl)

Set the ACL instance to use.

Parameters:
P4Cms_Acl$aclthe acl instance to use.
    {
        $this->_acl = $acl;
    }

Member Data Documentation

User_Form_AclGridOptions::$_acl = null [protected]

The documentation for this class was generated from the following file: