uc_product_handler_field_length.inc in Ubercart 7.3
Same filename and directory in other branches
Views handler: Product length field.
File
uc_product/views/uc_product_handler_field_length.incView source
<?php
/**
* @file
* Views handler: Product length field.
*/
/**
* Returns a formatted length value to display in the View.
*/
class uc_product_handler_field_length extends views_handler_field_numeric {
/**
* Overrides views_handler_field::render().
*/
function render($values) {
return uc_length_format($values->{$this->field_alias}, $values->{$this->aliases['length_units']});
}
}
Classes
Name | Description |
---|---|
uc_product_handler_field_length | Returns a formatted length value to display in the View. |