Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ContactStateDropDownElement Class Reference

Inheritance diagram for ContactStateDropDownElement:
DropDownElement DerivedElementInterface Element AllContactStatesDropDownForContactWebFormElement LeadStateDropDownElement

Public Member Functions

 __construct ($model, $attribute, $form=null, array $params=array())
 getIdForSelectInput ()

Static Public Member Functions

static getDisplayName ()
static getModelAttributeNames ()

Protected Member Functions

 renderControlEditable ()
 renderControlNonEditable ()
 resolveAttributeName ()
 getDropDownArray ()
 getNameForSelectInput ()
 renderError ()

Detailed Description

Definition at line 37 of file ContactStateDropDownElement.php.


Constructor & Destructor Documentation

__construct ( model,
attribute,
form = null,
array $  params = array() 
)

Override so we can force attribute to be set at 'state' since this is the correct attributeName for anything using this derived element

Reimplemented from Element.

Definition at line 68 of file ContactStateDropDownElement.php.


Member Function Documentation

renderControlEditable (  )  [protected]

Override to utilize 'id' as the attribute not 'value'

Reimplemented from DropDownElement.

Definition at line 42 of file ContactStateDropDownElement.php.

renderControlNonEditable (  )  [protected]

Renders the noneditable dropdown content. Takes the model attribute value and converts it into the proper display value based on the corresponding dropdown display label.

Returns:
A string containing the element's content.

Reimplemented from DropDownElement.

Definition at line 58 of file ContactStateDropDownElement.php.

static getModelAttributeNames (  )  [static]

Get the attributeNames of attributes used in the derived element.

Returns:
array of model attributeNames used.

Implements DerivedElementInterface.

Reimplemented in AllContactStatesDropDownForContactWebFormElement.

Definition at line 95 of file ContactStateDropDownElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from DropDownElement.

Definition at line 116 of file ContactStateDropDownElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:48 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8