|
Perforce Chronicle 2012.2/486814
API Documentation
|
This is the add user form. More...
Public Member Functions | |
| init () | |
| Defines the elements that make up the role form. | |
Protected Attributes | |
| $_uniqueIdRequired = false | |
This is the add user form.
| User_Form_EditRole::init | ( | ) |
Defines the elements that make up the role form.
Called automatically when the form object is created.
Reimplemented from User_Form_AddRole.
{
parent::init();
// form should use p4cms-ui styles.
$this->setAttrib('class', 'p4cms-ui role-form role-edit-form');
// disable changing role name
$this->getElement('id')
->setAttrib('disabled', true);
}
User_Form_EditRole::$_uniqueIdRequired = false [protected] |
Reimplemented from User_Form_AddRole.