You are here

9 calls to rooms_unit_access() in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

rooms_availability_event in modules/rooms_availability/rooms_availability.module
Displays the necessary json for the date range provided - needs at least start year and month at which point it will return the entire month.
rooms_availability_get_style in modules/rooms_availability/rooms_availability.module
Helper function to determine the $event style depending on permissions.
rooms_booking_edit_form_get_rooms in modules/rooms_booking/rooms_booking.admin.inc
Returns a set of available units given a unit type, start and end dates.
rooms_booking_views_ajax_autocomplete_unit in modules/rooms_booking/views/rooms_booking.views.inc
Page callback for views rooms_unit autocomplete.
rooms_unit_access_filter in modules/rooms_unit/rooms_unit.module
Filters rooms unit based on permissions for multiple values.
rooms_unit_edit_form in modules/rooms_unit/rooms_unit.admin.inc
Form callback: create or edit a unit.
rooms_unit_handler_delete_link_field::render in modules/rooms_unit/views/rooms_unit_handler_delete_link_field.inc
Render the field.
rooms_unit_handler_edit_link_field::render in modules/rooms_unit/views/rooms_unit_handler_edit_link_field.inc
Render the field.
_rooms_unit_add_access in modules/rooms_unit/rooms_unit.module
Access callback: Checks whether the user has permission to add a unit.