function rooms_booking_handler_booking_operations_field::query in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Called to add the field to a query.
Overrides views_handler_field::query
File
- modules/
rooms_booking/ views/ rooms_booking_handler_booking_operations_field.inc, line 14
Class
- rooms_booking_handler_booking_operations_field
- This field handler aggregates operations that can be done on a booking under a single field providing a more flexible way to present them in a view
Code
function query() {
$this
->ensure_my_table();
$this
->add_additional_fields();
}