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

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 Feb 20 07:10:55 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