function CurrencyAmountViewsHandlerField::getAmount in Currency 7.2
Gets this field's.
If the amount cannot be fetched from your implementation's database field as a numeric string, you should override this method so it returns a numeric/decimal representation of the amount.
Parameters
stdClass $values: A values object as received by $this->render().
Return value
string A numeric string.
1 call to CurrencyAmountViewsHandlerField::getAmount()
- CurrencyAmountViewsHandlerField::render in currency/
includes/ CurrencyAmountViewsHandlerField.inc - Overrides parent::render().
File
- currency/
includes/ CurrencyAmountViewsHandlerField.inc, line 148 - Contains class CurrencyAmountViewsHandlerField.
Class
- CurrencyAmountViewsHandlerField
- A Views field handler for currency amounts.
Code
function getAmount(stdClass $values) {
return $this
->get_value($values);
}