PolicyPasswordExpiryElement Class Reference

Inheritance diagram for PolicyPasswordExpiryElement:
Element DerivedElementInterface

Static Public Member Functions

static getModelAttributeNames ()

Protected Member Functions

 renderControlEditable ()
 renderControlNonEditable ()
 renderLabel ()
 getFormattedAttributeLabel ()
 renderError ()
 getExpiresDropDownArray ()
 resolveInputClassDisabled ()
 registerScripts ()
 getInheritedContent ()

Static Protected Member Functions

static getExpiresAttributeName ()
static getExpiryAttributeName ()

Detailed Description

Derived Element Element for displaying the following policies together in one user interface element. UsersModule::POLICY_PASSWORD_EXPIRES UsersModule::POLICY_PASSWORD_EXPIRY_DAYS

POLICY_PASSWORD_EXPIRY_DAYS can only be set if POLICY_PASSWORD_EXPIRES is set to Yes.

Definition at line 47 of file PolicyPasswordExpiryElement.php.


Member Function Documentation

renderControlEditable (  )  [protected]

Renders the editable dropdown content.

Returns:
A string containing the element's content.

Reimplemented from Element.

Definition at line 53 of file PolicyPasswordExpiryElement.php.

renderControlNonEditable (  )  [protected]

Renders a message.

Returns:
The element's content.

Reimplemented from Element.

Definition at line 85 of file PolicyPasswordExpiryElement.php.

renderLabel (  )  [protected]

Generate the element label content. Override to always for non-editable label

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 95 of file PolicyPasswordExpiryElement.php.

renderError (  )  [protected]

Override because derived attribute requires a different attributeName to be used by the form->error method. This is because the standard $this->attribute is 'null' for derived attributes.

Returns:
error content

Reimplemented from Element.

Definition at line 111 of file PolicyPasswordExpiryElement.php.

static getModelAttributeNames (  )  [static]

Get the attributeNames of attributes used in the derived element.

Returns:
array of model attributeNames used.

Implements DerivedElementInterface.

Definition at line 169 of file PolicyPasswordExpiryElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed May 24 07:10:28 2017