자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * 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]; }