You are here

Functions in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Primary tabs

Namesort descending Location Description Direct uses Strings
book_units_per_type_form modules/rooms_booking_manager/rooms_booking_manager.module Book units per type booking form callback. 1
book_units_per_type_form_submit modules/rooms_booking_manager/rooms_booking_manager.module Submit callback for book_units_per_type_form form. 2
book_units_per_type_form_validate modules/rooms_booking_manager/rooms_booking_manager.module Validate callback for book_units_per_type_form form. 1
book_unit_form_builder modules/rooms_booking_manager/rooms_booking_manager.module The form builder builds the form (where visible is simply the purchase button) for individual bookable units. 2
book_unit_form_submit modules/rooms_booking_manager/rooms_booking_manager.module Submit callback for book_unit_form form. 1
book_unit_form_validate modules/rooms_booking_manager/rooms_booking_manager.module Validation for cart booking form. 1
end_date_load modules/rooms_booking_manager/rooms_booking_manager.module Loads a DateTime object from a string. 2
hook_rooms_availability_update modules/rooms_availability/rooms_availability.api.php Notifies subscribing modules of changes to the availability calendar. This allows modules to react to changes.
hook_rooms_booking_amount_before_modifiers_alter modules/rooms_pricing/rooms_pricing.api.php Allows modification of the booking price prior to the application of price modifiers.
hook_rooms_booking_results_alter modules/rooms_booking_manager/rooms_booking_manager.api.php This hook allows to modify the search results before being rendered to the end user.
hook_rooms_create_line_item_alter modules/rooms_booking_manager/rooms_booking_manager.api.php Allows you to change the line item before it is added to the cart - this gives lots of flexibility to add information to a line item or change the label.
hook_rooms_entity_access ./rooms.api.php Allows modules to deny or provide access for a user to perform a non-view operation on an entity before any other access check occurs.
hook_rooms_entity_access_condition_alter ./rooms.api.php Allows modules to alter the conditions used on the query to grant view access to a Rooms entity.
hook_rooms_entity_access_condition_ENTITY_TYPE_alter ./rooms.api.php Allows modules to alter the conditions used on the query to grant view access to a Rooms entity of the specified ENTITY TYPE.
hook_rooms_price_modifier_alter modules/rooms_booking/rooms_booking.api.php Allows to modify the price modifiers array for a booking.
hook_rooms_string_alter ./rooms.api.php Allows modules to use contextual information about bookings to change what is shown to the user.
rooms_assoc_range ./rooms.module Returns a range array keyed by value. 5
rooms_availability_ajax_event_status_change modules/rooms_availability/rooms_availability.module The callback for the change_event_status widget of the event manager form. 1
rooms_availability_assign_id modules/rooms_availability/rooms_availability.module Sets event ids. 6
rooms_availability_bulk_unit_management modules/rooms_availability/rooms_availability.module Form for the Bulk Availability Management. 1
rooms_availability_entity_delete modules/rooms_availability/rooms_availability.module Implements hook_entity_delete().
rooms_availability_event 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. 1
rooms_availability_event_manager_form modules/rooms_availability/rooms_availability.module The Event Manager Form. 1
rooms_availability_event_manager_page modules/rooms_availability/rooms_availability.module The EventManager page shows when clicking on an event in the availability calendar - will allow a user to manipulate that event. 1
rooms_availability_form_rooms_booking_settings_alter modules/rooms_availability/rooms_availability.module Implements hook_form__FORM_ID_alter().
rooms_availability_generate_json modules/rooms_availability/rooms_availability.module Generates json based on date range provided. 1
rooms_availability_get_style modules/rooms_availability/rooms_availability.module Helper function to determine the $event style depending on permissions. 1
rooms_availability_menu modules/rooms_availability/rooms_availability.module Implements hook_menu().
rooms_availability_modal_style modules/rooms_availability/rooms_availability.module Define modal JS style and dependencies. 2
rooms_availability_page modules/rooms_availability/rooms_availability.module Callback for admin/rooms/units/unit/%unit/availability - builds availability page by adding calendar and pulling events from availability table. 1
rooms_availability_permission modules/rooms_availability/rooms_availability.module Implements hook_permission().
rooms_availability_query_rooms_availability_access_alter modules/rooms_availability/rooms_availability.module Implements hook_query_TAG_alter().
rooms_availability_reference_autocomplete modules/rooms_availability_reference/rooms_availability_reference.module Menu callback for the autocomplete results. 4
rooms_availability_reference_autocomplete_validate modules/rooms_availability_reference/rooms_availability_reference.module Validation callback for a node_reference autocomplete element. 1
rooms_availability_reference_autocomplete_value modules/rooms_availability_reference/rooms_availability_reference.module Value callback for a rooms_availability_reference autocomplete element. 1
rooms_availability_reference_field_formatter_info modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_formatter_info().
rooms_availability_reference_field_formatter_prepare_view modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_formatter_prepare_view().
rooms_availability_reference_field_formatter_view modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_formatter_view().
rooms_availability_reference_field_info modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_info().
rooms_availability_reference_field_is_empty modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_is_empty().
rooms_availability_reference_field_schema modules/rooms_availability_reference/rooms_availability_reference.install Implements hook_field_schema().
rooms_availability_reference_field_settings_form modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_settings_form().
rooms_availability_reference_field_validate modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_validate().
rooms_availability_reference_field_widget_error modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_widget_error().
rooms_availability_reference_field_widget_form modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_widget_form().
rooms_availability_reference_field_widget_info modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_field_widget_info().
rooms_availability_reference_menu modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_menu().
rooms_availability_reference_permission modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_permission().
rooms_availability_reference_potential_references modules/rooms_availability_reference/rooms_availability_reference.module Retrieves an array of candidate referenceable booking units. 2
rooms_availability_reference_theme modules/rooms_availability_reference/rooms_availability_reference.module Implements hook_theme().

Pages

Other projects