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

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 Sat Jan 19 07:10:26 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