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

ProductTemplateElement Class Reference

Inheritance diagram for ProductTemplateElement:
ModelElement Element ElementActionTypeInterface

Protected Member Functions

 renderControlEditable ()
 getModalTitleForSelectingModel ()
 registerScriptForAutoCompleteTextField ()
 getOnSelectOptionForAutoComplete ($idInputName)

Static Protected Attributes

static $moduleId = 'productTemplates'

Detailed Description

Display the product template selection. This is a combination of a type-ahead input text field and a selection button which renders a modal list view to search on product template. Also includes a hidden input for the user id.

Definition at line 44 of file ProductTemplateElement.php.


Member Function Documentation

renderControlEditable (  )  [protected]

Render a hidden input, a text input with an auto-complete event, and a select button. These three items together form the Template Editable Element

Returns:
The element's content as a string.

Reimplemented from ModelElement.

Definition at line 54 of file ProductTemplateElement.php.

getModalTitleForSelectingModel (  )  [protected]
Returns:
string

Reimplemented from ModelElement.

Definition at line 63 of file ProductTemplateElement.php.

registerScriptForAutoCompleteTextField (  )  [protected]

Registers scripts for autocomplete text field

Reimplemented from ModelElement.

Definition at line 72 of file ProductTemplateElement.php.

getOnSelectOptionForAutoComplete ( idInputName  )  [protected]

Gets on select option for the automcomplete text field

Parameters:
string $idInputName
Returns:
string

Reimplemented from ModelElement.

Definition at line 86 of file ProductTemplateElement.php.


Field Documentation

$moduleId = 'productTemplates' [static, protected]

Override in child element with a specific moduleId

Reimplemented from ModelElement.

Definition at line 46 of file ProductTemplateElement.php.


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