function merci_handler_field_merci_reservation_status::render in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6
Same name and namespace in other branches
- 6.2 handlers/merci_handler_field.inc \merci_handler_field_merci_reservation_status::render()
- 7.2 handlers/merci_handler_field.inc \merci_handler_field_merci_reservation_status::render()
File
- handlers/
merci_handler_field.inc, line 72
Class
- merci_handler_field_merci_reservation_status
- Reservation status.
Code
function render($values) {
parent::render($values);
$statuses = merci_record_status();
$status = $values->{$this->aliases['status']};
return $statuses[$status];
}