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

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 Sat Mar 23 07:10:58 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