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

AddressElement Class Reference

Inheritance diagram for AddressElement:
Element MultipleAttributesElementInterface

Static Public Member Functions

static getModelAttributeNames ()

Data Fields

 $breakLines = true

Protected Member Functions

 renderControlNonEditable ()
 renderControlEditable ()
 renderEditableAddressTextField ($model, $form, $inputNameIdPrefix, $attribute, $renderAsHalfSize=false)
 renderMapLink ($addressModel, $addressLine)
 resolveAjaxOptionsForMapLink ()
 renderError ()
 renderLabel ()
 resolveHtmlAndTextBreakLine ()
 resolveTextBreakLine ()

Detailed Description

Display a collection of address fields Collection includes street1, street2, city, state, postal code, and country.

Definition at line 42 of file AddressElement.php.


Member Function Documentation

renderControlNonEditable (  )  [protected]

Renders the noneditable address content. Takes the model attribute value and converts it into at most 6 items which form the collection.

Returns:
A string containing the element's content.

Reimplemented from Element.

Definition at line 52 of file AddressElement.php.

renderControlEditable (  )  [protected]

Renders the editable address content. Takes the model attribute value and converts it into at most 6 items.

Returns:
A string containing the element's content

Reimplemented from Element.

Definition at line 110 of file AddressElement.php.

renderMapLink ( addressModel,
addressLine 
) [protected]

Render a map link. This link calls a modal popup.

Returns:
The element's content as a string.

Definition at line 161 of file AddressElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from Element.

Definition at line 187 of file AddressElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 191 of file AddressElement.php.

static getModelAttributeNames (  )  [static]

Gets related model attribute names

Returns:
array

Implements MultipleAttributesElementInterface.

Definition at line 218 of file AddressElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jan 21 07:10:21 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