Documentation

Products_Calculations_Handler
in package

Calculations handler.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

author

Radosław Skrzypczak r.skrzypczak@yetiforce.com

Table of Contents

entityBeforeSave()  : mixed
EntityBeforeSave handler function.
getValueField()  : float|string
Calculation.

Methods

entityBeforeSave()

EntityBeforeSave handler function.

public entityBeforeSave(EventHandler $eventHandler) : mixed
Parameters
$eventHandler : EventHandler
Return values
mixed

getValueField()

Calculation.

private getValueField(int $currencyId[, float|null $purchase = null ][, float|null $unitPrice = null ][, float|null $margin = null ]) : float|string
Parameters
$currencyId : int
$purchase : float|null = null
$unitPrice : float|null = null
$margin : float|null = null
Return values
float|string

        

Search results