ProductCategoryElement Class Reference

Inheritance diagram for ProductCategoryElement:
ModelElement Element ElementActionTypeInterface ParentProductCategoryElement

Protected Member Functions

 renderControlEditable ()
 getModalTitleForSelectingModel ()

Protected Attributes

 $controllerId = 'category'

Static Protected Attributes

static $moduleId = 'productTemplates'

Detailed Description

Display the category 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 category. Also includes a hidden input for the category id.

Definition at line 44 of file ProductCategoryElement.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 Category Editable Element

Returns:
The element's content as a string.

Reimplemented from ModelElement.

Reimplemented in ParentProductCategoryElement.

Definition at line 56 of file ProductCategoryElement.php.

getModalTitleForSelectingModel (  )  [protected]
Returns:
string

Reimplemented from ModelElement.

Reimplemented in ParentProductCategoryElement.

Definition at line 65 of file ProductCategoryElement.php.


Field Documentation

$moduleId = 'productTemplates' [static, protected]

Override in child element with a specific moduleId

Reimplemented from ModelElement.

Definition at line 46 of file ProductCategoryElement.php.

$controllerId = 'category' [protected]

Override in child element with a custom controllerId if needed

Reimplemented from ModelElement.

Definition at line 48 of file ProductCategoryElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:28 2017