ProductCategory Class Reference

Inheritance diagram for ProductCategory:
Item CustomFieldsModel RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()

Static Public Member Functions

static getByName ($name)
static getModuleClassName ()
static canSaveMetadata ()
static getDefaultMetadata ()
static isTypeDeletable ()
static getRollUpRulesType ()
static getGamificationRulesType ()

Data Fields

const EVERYONE_CATEGORY_NAME = 'Everyone'
const ERROR_EXIST_TEMPLATE = 1
const ERROR_EXIST_CHILD_CATEGORIES = 2

Protected Member Functions

 untranslatedAttributeLabels ()
 beforeDelete ()

Static Protected Member Functions

static getLabel ($language=null)
static getPluralLabel ($language=null)
static translatedAttributeLabels ($language)

Detailed Description

Definition at line 37 of file ProductCategory.php.


Member Function Documentation

static getByName ( name  )  [static]
Parameters:
string $name
Returns:
string

Reimplemented from Item.

Definition at line 49 of file ProductCategory.php.

untranslatedAttributeLabels (  )  [protected]
Returns:
array

Definition at line 57 of file ProductCategory.php.

__toString (  ) 
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 68 of file ProductCategory.php.

static getModuleClassName (  )  [static]
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 87 of file ProductCategory.php.

static getLabel ( language = null  )  [static, protected]

Returns the display name for the model class.

Parameters:
null}string $language
Returns:
dynamic label name based on module.

Reimplemented from RedBeanModel.

Definition at line 97 of file ProductCategory.php.

static getPluralLabel ( language = null  )  [static, protected]

Returns the display name for plural of the model class.

Parameters:
null}string $language
Returns:
dynamic label name based on module.

Reimplemented from RedBeanModel.

Definition at line 107 of file ProductCategory.php.

static canSaveMetadata (  )  [static]
Returns:
bool

Reimplemented from RedBeanModel.

Definition at line 115 of file ProductCategory.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from Item.

Definition at line 123 of file ProductCategory.php.

static isTypeDeletable (  )  [static]
Returns:
bool

Reimplemented from Item.

Definition at line 156 of file ProductCategory.php.

static getRollUpRulesType (  )  [static]
Returns:
string

Definition at line 164 of file ProductCategory.php.

static getGamificationRulesType (  )  [static]
Returns:
string of gamificationRulesType Override for a child class as needed.

Reimplemented from Item.

Definition at line 169 of file ProductCategory.php.

beforeDelete (  )  [protected]
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 177 of file ProductCategory.php.

static translatedAttributeLabels ( language  )  [static, protected]
Returns:
array

Reimplemented from Item.

Definition at line 186 of file ProductCategory.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Jul 23 07:10:29 2017