MultipleProductCategoriesForProductTemplateElement Class Reference

Inheritance diagram for MultipleProductCategoriesForProductTemplateElement:
MultiSelectRelatedModelsAutoCompleteElement Element DerivedElementInterface MultipleProductCategoriesForProductElement

Static Public Member Functions

static getDisplayName ()
static renderHtmlContentLabelFromProductCategoryAndKeyword ($productCategory)

Protected Member Functions

 getFormName ()
 getUnqualifiedNameForIdField ()
 getUnqualifiedIdForIdField ()
 getFormattedAttributeLabel ()
 assertModelType ()
 getWidgetHintText ()
 getWidgetSourceUrl ()
 getRelationName ()

Detailed Description

User interface element for managing related model relations for product templates. This class supports a HAS_MANY specifically for the 'productCategories' relation. This is utilized by the Product Template model.

Definition at line 42 of file MultipleProductCategoriesForProductTemplateElement.php.


Member Function Documentation

getFormName (  )  [protected]
getUnqualifiedNameForIdField (  )  [protected]
getUnqualifiedIdForIdField (  )  [protected]
getFormattedAttributeLabel (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 68 of file MultipleProductCategoriesForProductTemplateElement.php.

static getDisplayName (  )  [static]
Returns:
string

Reimplemented from Element.

Reimplemented in MultipleProductCategoriesForProductElement.

Definition at line 76 of file MultipleProductCategoriesForProductTemplateElement.php.

assertModelType (  )  [protected]

Asserts that element is attached to a form with a model type that we are indeed expecting

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Reimplemented in MultipleProductCategoriesForProductElement.

Definition at line 82 of file MultipleProductCategoriesForProductTemplateElement.php.

getWidgetHintText (  )  [protected]

Returns the hint text display in widget

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 87 of file MultipleProductCategoriesForProductTemplateElement.php.

getWidgetSourceUrl (  )  [protected]

Returns the source url widget should hit to request data for autocomplete

Returns:
mixed

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 95 of file MultipleProductCategoriesForProductTemplateElement.php.

getRelationName (  )  [protected]

Returns the relation name we would query when generated existing Ids and Labels

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 100 of file MultipleProductCategoriesForProductTemplateElement.php.

static renderHtmlContentLabelFromProductCategoryAndKeyword ( productCategory  )  [static]
Parameters:
object $productCategory
string $keyword
Returns:
string

Definition at line 110 of file MultipleProductCategoriesForProductTemplateElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Aug 17 07:10:28 2017