All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields
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

const PRODUCT_NAME_LENGTH_IN_PORTLET_VIEW = 19

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:
Generated on Tue Jan 28 2020 07:10:38