Product Class Reference

Inheritance diagram for Product:
OwnedSecurableItem SecurableItem Item CustomFieldsModel RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()

Static Public Member Functions

static getByName ($name)
static getModuleClassName ()
static canSaveMetadata ()
static translatedAttributeLabels ($language)
static getDefaultMetadata ()
static isTypeDeletable ()
static hasReadPermissionsOptimization ()
static getGamificationRulesType ()

Data Fields

const OPEN_STAGE = 'Open'

Protected Member Functions

 beforeValidate ()

Detailed Description

Definition at line 37 of file Product.php.


Member Function Documentation

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

Reimplemented from Item.

Definition at line 45 of file Product.php.

__toString (  ) 
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 53 of file Product.php.

static getModuleClassName (  )  [static]
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 72 of file Product.php.

static canSaveMetadata (  )  [static]
Returns:
bool

Reimplemented from RedBeanModel.

Definition at line 80 of file Product.php.

static translatedAttributeLabels ( language  )  [static]
Parameters:
string $language
Returns:
array

Reimplemented from OwnedSecurableItem.

Definition at line 89 of file Product.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from OwnedSecurableItem.

Definition at line 107 of file Product.php.

static isTypeDeletable (  )  [static]
Returns:
bool

Reimplemented from OwnedSecurableItem.

Definition at line 171 of file Product.php.

static hasReadPermissionsOptimization (  )  [static]
Returns:
bool

Reimplemented from SecurableItem.

Definition at line 179 of file Product.php.

static getGamificationRulesType (  )  [static]
Returns:
string

Reimplemented from Item.

Definition at line 187 of file Product.php.

beforeValidate (  )  [protected]

Sets the scenario for currencyvalue elements to positiveValue for the validation of the price using the rule in CurrencyValue

Returns:
bool

Reimplemented from RedBeanModel.

Definition at line 197 of file Product.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Sep 20 07:10:27 2017