\jomSearch

* @package Jomres\Core\Classes

Search class and supporting functions.

Summary

Methods
Properties
Constants
__construct()
jomSearch_showresults()
sortResult()
jomSearch_random()
jomSearch_country()
jomSearch_region()
jomSearch_town()
jomSearch_description()
jomSearch_propertyname()
jomSearch_features()
jomSearch_roomtypes()
jomSearch_ptypes()
jomSearch_categories()
jomSearch_guestnumber()
jomSearch_stars()
jomSearch_priceranges()
jomSearch_availability()
makeOrs()
makeFormName()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  $calledByModule,   $includedInModule = false) 

Constructs the search object.

Parameters

$calledByModule
$includedInModule

jomSearch_showresults()

jomSearch_showresults() 

Triggers the list_propertys mini-component.

sortResult()

sortResult() 

Performs a sorts the search results.

jomSearch_random()

jomSearch_random() 

Performs a random search.

jomSearch_country()

jomSearch_country() 

Performs a search based on country.

jomSearch_region()

jomSearch_region() 

Performs a search based on region.

jomSearch_town()

jomSearch_town() 

Performs a search based on city.

jomSearch_description()

jomSearch_description() 

Performs a search based on text.

jomSearch_propertyname()

jomSearch_propertyname() 

jomSearch_features()

jomSearch_features() 

Performs a search based on property features.

jomSearch_roomtypes()

jomSearch_roomtypes() 

Performs a search based on room types.

jomSearch_ptypes()

jomSearch_ptypes() 

Performs a search based on property types.

jomSearch_categories()

jomSearch_categories() 

Performs a search based on property category.

jomSearch_guestnumber()

jomSearch_guestnumber() 

Performs a search based on property types.

jomSearch_stars()

jomSearch_stars() 

Performs a search based on property types.

jomSearch_priceranges()

jomSearch_priceranges() 

Performs a search based on price ranges.

jomSearch_availability()

jomSearch_availability() 

Performs a search based on availability.

makeOrs()

makeOrs(  $column = 'propertys_uid') 

Constructs a set of ORs to be used in queries based on the last array of property uids in the propertys_uid array.

Parameters

$column

makeFormName()

makeFormName() 

Makes a random name for the availability search.

We need to give the form a random name otherwise the availability search will not work, as it the same form generation function is used in multiple places.