You are here

public function AvailabilityAgentFilterInterface::applyFilter in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Applies the filter operation to the units in the filter.

Return value

array|int Rooms remaining after the filter, error code otherwise.

4 methods override AvailabilityAgentFilterInterface::applyFilter()
AvailabilityAgentCommerceFilter::applyFilter in modules/rooms_booking/includes/rooms_booking.availability_agent_filter.inc
Applies the filter operation to the units in the filter.
AvailabilityAgentDateFilter::applyFilter in modules/rooms_booking/includes/rooms_booking.availability_agent_filter.inc
Applies the filter operation to the units in the filter.
AvailabilityAgentSingleUnitFilter::applyFilter in modules/rooms_booking/includes/rooms_booking.availability_agent_filter.inc
Applies the filter operation to the units in the filter.
AvailabilityAgentSizeFilter::applyFilter in modules/rooms_booking/includes/rooms_booking.availability_agent_filter.inc
Applies the filter operation to the units in the filter.

File

modules/rooms_booking/includes/rooms_booking.availability_agent_filter.inc, line 20
Rooms Booking agent filter interfaces and base implementations.

Class

AvailabilityAgentFilterInterface
An availability agent filter receives a set of units and applies a filter to them returning the remainder.

Code

public function applyFilter();