Perforce Chronicle 2012.2/486814
API Documentation

User_Form_EditRole Class Reference

This is the add user form. More...

Inheritance diagram for User_Form_EditRole:
User_Form_AddRole P4Cms_Form

List of all members.

Public Member Functions

 init ()
 Defines the elements that make up the role form.

Protected Attributes

 $_uniqueIdRequired = false

Detailed Description

This is the add user 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_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);
    }

Member Data Documentation

User_Form_EditRole::$_uniqueIdRequired = false [protected]

Reimplemented from User_Form_AddRole.


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