Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters Class Reference

Public Member Functions

 setSearchValue ($searchValue)
 setWhat ($searchValue)
 enableDidYouMeanWhat ()
 disableDidYouMeanWhat ()
 enableDidYouMeanWhere ()
 disableDidYouMeanWhere ()
 enableDidYouMeanRelated ()
 disableDidYouMeanRelated ()
 setHits ($hits=10)
 setCollapse ($value)
 setWhere ($where)
 getWhere ()
 enableSpatial ()
 disableSpatial ()
 setRadius ($radius)
 setRectangle ($lx, $ly, $rx, $ry)
 setTransformGeoCode ()
 setSort ($sort)
 enablePhoneSeparation ()
 disablePhoneSeparation ()
 setFilterOnliner ()
 setFilterOffliner ()
 disableFilter ()
 setOpeningTime ($time=null)
 setCategory ($category=null)
 setSite ($site)
 setDocumentType ($type)
 setName ($name)
 setZipCode ($zip)
 setStreet ($street)
 setCounty ($county)
 setRawParameter ($key, $value)
 getSearchParameters ()

Detailed Description

Definition at line 31 of file SearchParameters.php.


Member Function Documentation

diable did you mean related, if false Kihno will not be corrected to Kino

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 164 of file SearchParameters.php.

disable the did you mean what feature

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 120 of file SearchParameters.php.

disable the did you mean where feature

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 142 of file SearchParameters.php.

removes the filter value

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 394 of file SearchParameters.php.

disable the separation of phone numbers

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 360 of file SearchParameters.php.

disable the spatial search feature

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 262 of file SearchParameters.php.

enable did you mean related, if true Kihno will be corrected to Kino

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 153 of file SearchParameters.php.

enable the did you mean what feature

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 109 of file SearchParameters.php.

enable the did you mean where feature

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 131 of file SearchParameters.php.

enable the separation of phone numbers

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 349 of file SearchParameters.php.

enable the spatial search feature

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 251 of file SearchParameters.php.

returns the parameters as an array

Returns:
array

Definition at line 521 of file SearchParameters.php.

Here is the caller graph for this function:

getWhere ( )

returns the defined search location (ie city, country)

Returns:
string

Definition at line 241 of file SearchParameters.php.

setCategory ( category = null)

sets a category filter

See also:
http://www.suchen.de/kategorie-katalog
Parameters:
$category
Returns:
unknown_type

Definition at line 422 of file SearchParameters.php.

setCollapse ( value)

If true, addresses will be collapsed for a single domain, common values are: ADDRESS_COMPANY – to collapse by address DOMAIN – to collapse by domain (same like collapse=true) false

Parameters:
mixed$value
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 199 of file SearchParameters.php.

setCounty ( county)

sets a filter for the county

Parameters:
string$county
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 497 of file SearchParameters.php.

setDocumentType ( type)

sets a filter to the given document type ie: pdf, html

Parameters:
string$type
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 448 of file SearchParameters.php.

if this filter is set, only results without a website are returned

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 382 of file SearchParameters.php.

if this filter is set, only results with a website are returned

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 371 of file SearchParameters.php.

setHits ( hits = 10)

set the max result hits for this search

Parameters:
integer$hits
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 176 of file SearchParameters.php.

setName ( name)

sets a filter for the company name ie: Deutsche Telekom

Parameters:
string$name
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 461 of file SearchParameters.php.

setOpeningTime ( time = null)

set a filter to get just results who are open at the given time possible values: now = open right now HH:MM = at the given time (ie 20:00)

Parameters:
string$time
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 409 of file SearchParameters.php.

setRadius ( radius)

sets spatial and the given radius for a circle search

Parameters:
integer$radius
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 274 of file SearchParameters.php.

setRawParameter ( key,
value 
)

sets a raw parameter with the value

Parameters:
string$key
mixed$value
Returns:
unknown_type

Definition at line 510 of file SearchParameters.php.

setRectangle ( lx,
ly,
rx,
ry 
)

sets the values for a rectangle search lx = longitude left top ly = latitude left top rx = longitude right bottom ry = latitude right bottom

Parameters:
$lx
$ly
$rx
$ry
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 303 of file SearchParameters.php.

setSearchValue ( searchValue)

sets a new search word alias for setWhat

Parameters:
string$searchValue
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 87 of file SearchParameters.php.

Here is the call graph for this function:

setSite ( site)

sets the site filter ie: www.developergarden.com

Parameters:
string$site
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 435 of file SearchParameters.php.

setSort ( sort)

sets the sort value possible values are: 'relevance' and 'distance' (only with spatial enabled)

Parameters:
string$sort
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 333 of file SearchParameters.php.

setStreet ( street)

sets a filter for the street

Parameters:
string$street
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 485 of file SearchParameters.php.

if set, the service returns the zipcode for the result

Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 318 of file SearchParameters.php.

setWhat ( searchValue)

sets a new search word

Parameters:
string$searchValue
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 98 of file SearchParameters.php.

Here is the caller graph for this function:

setWhere ( where)

set a specific search location examples: +47°54’53.10”, 11° 10’ 56.76” 47°54’53.10;11°10’56.76” 47.914750,11.182533 +47.914750 ; +11.1824 Darmstadt Berlin

Parameters:
string$where
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 222 of file SearchParameters.php.

setZipCode ( zip)

sets a filter for the zip code

Parameters:
string$zip
Returns:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters

Definition at line 473 of file SearchParameters.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations