/ */ class User_Form_EditRole extends User_Form_AddRole { protected $_uniqueIdRequired = false; /** * Defines the elements that make up the role form. * Called automatically when the form object is created. */ public function init() { 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); } }