PolicyIntegerAndStaticDropDownElement Class Reference

Inheritance diagram for PolicyIntegerAndStaticDropDownElement:
Element

Data Fields

const HELPER_DROPDOWN_VALUE_YES = 1

Protected Member Functions

 renderControlEditable ()
 renderControlNonEditable ()
 renderLabel ()
 resolveAndRenderPolicyDefaultStringContent ()
 getNameForHelperInput ()
 getIdForHelperInput ()
 getIdForInput ()
 getHelperDropDownArray ()
 getHelperValue ()
 resolveInputClassDisabled ()
 registerScripts ()
 getInheritedContent ()

Detailed Description

Element for displaying integer type policies in the administrative interface for policies on permitables Element consists of a text field and a helper dropdown that is used to disable or enable the text field. The helper dropdown will populate to YES if there is an explicit value for the text field.

If there is just an inherited value, then a read-only text will appear above the helper dropdown with the inherited value information

Definition at line 48 of file PolicyIntegerAndStaticDropDownElement.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 56 of file PolicyIntegerAndStaticDropDownElement.php.

renderControlNonEditable (  )  [protected]

Renders a message.

Returns:
The element's content.

Reimplemented from Element.

Definition at line 83 of file PolicyIntegerAndStaticDropDownElement.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 93 of file PolicyIntegerAndStaticDropDownElement.php.

resolveAndRenderPolicyDefaultStringContent (  )  [protected]

Generate a tooltip to show the user the default value of a policy. If no default value is set, the function returns null.

Returns:
String The HTML code for the tooltip.

Definition at line 104 of file PolicyIntegerAndStaticDropDownElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 24 07:10:29 2017