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

ProductElementUtil Class Reference

Public Member Functions

 getCalendarItemData ()

Static Public Member Functions

static getProductPortletSellPrice ($data, $row)
static getProductPortletTotalPrice ($data, $row)
static getAdjustedTotalByCurrency ($model)

Data Fields

const PRODUCT_NAME_LENGTH_IN_PORTLET_VIEW = 19

Detailed Description

Helper class used by product elements.

Definition at line 40 of file ProductElementUtil.php.


Member Function Documentation

static getProductPortletSellPrice ( data,
row 
) [static]

Gets sell price for product in portlet view

Parameters:
object $data
int $row
Returns:
string

Definition at line 53 of file ProductElementUtil.php.

static getProductPortletTotalPrice ( data,
row 
) [static]

Gets total price for product in portlet view

Parameters:
object $data
int $row
Returns:
string

Definition at line 67 of file ProductElementUtil.php.

getCalendarItemData (  ) 

Gets full calendar item data.

Returns:
string

Definition at line 79 of file ProductElementUtil.php.

static getAdjustedTotalByCurrency ( model  )  [static]

Gets the adjusted value of the price by comparing the currency to the base currency

Parameters:
RedBeanModel $model
Returns:
float

Definition at line 102 of file ProductElementUtil.php.


Field Documentation

Product name length in portlet view

Definition at line 45 of file ProductElementUtil.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