merci_line_item_handler_field_line_item_type.inc in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
File
merci_line_item/includes/views/handlers/merci_line_item_handler_field_line_item_type.incView source
<?php
/**
* Field handler to translate a line item type into its readable form.
*/
class merci_line_item_handler_field_line_item_type extends views_handler_field {
function render($values) {
$type = $this
->get_value($values);
$value = merci_line_item_type_get_name($type);
return $this
->sanitize_value($value);
}
}
Classes
Name![]() |
Description |
---|---|
merci_line_item_handler_field_line_item_type | Field handler to translate a line item type into its readable form. |