function views_handler_field_last_inventory_timestamp::render in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field_date::render
File
- merci_inventory/
views/ handlers/ views_handler_field_last_inventory_timestamp.inc, line 19 - Definition of views_handler_field_last_comment_timestamp.
Class
- views_handler_field_last_inventory_timestamp
- Field handler to display the timestamp of a comment with the count of comments.
Code
function render($values) {
$inventory_count = $this
->get_value($values, 'inventory_count');
if (empty($this->options['empty_zero']) || $inventory_count) {
return parent::render($values);
}
else {
return NULL;
}
}