|
Perforce Chronicle 2012.2/486814
API Documentation
|
This is the acl grid options form. More...
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 | |
This is the acl grid options form.
| User_Form_AclGridOptions::getAcl | ( | ) |
Get the ACL instance in use by this form.
| P4Cms_Acl_Exception | if 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.
| P4Cms_Acl | $acl | the acl instance to use. |
{
$this->_acl = $acl;
}
User_Form_AclGridOptions::$_acl = null [protected] |