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 Wed Sep 20 07:10:27 2017