Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
/** * Get sell price formula type displayed value * @param RedBeanModel $data * @param string $attribute * @return string */ public static function getSellPriceFormulaType($data, $attribute) { $dataArray = SellPriceFormula::getTypeDropDownArray(); return $dataArray[$data->getModel($attribute)->sellPriceFormula->type]; }