Zend Framework
1.12
|
Public Member Functions | |
setSearchValue ($searchValue) | |
sets a new search word alias for setWhat | |
setWhat ($searchValue) | |
sets a new search word | |
enableDidYouMeanWhat () | |
enable the did you mean what feature | |
disableDidYouMeanWhat () | |
disable the did you mean what feature | |
enableDidYouMeanWhere () | |
enable the did you mean where feature | |
disableDidYouMeanWhere () | |
disable the did you mean where feature | |
enableDidYouMeanRelated () | |
enable did you mean related, if true Kihno will be corrected to Kino | |
disableDidYouMeanRelated () | |
diable did you mean related, if false Kihno will not be corrected to Kino | |
setHits ($hits=10) | |
set the max result hits for this search | |
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. | |
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 | |
getWhere () | |
returns the defined search location (ie city, country) | |
enableSpatial () | |
enable the spatial search feature | |
disableSpatial () | |
disable the spatial search feature | |
setRadius ($radius) | |
sets spatial and the given radius for a circle search | |
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 | |
setTransformGeoCode () | |
if set, the service returns the zipcode for the result | |
setSort ($sort) | |
sets the sort value possible values are: 'relevance' and 'distance' (only with spatial enabled) | |
enablePhoneSeparation () | |
enable the separation of phone numbers | |
disablePhoneSeparation () | |
disable the separation of phone numbers | |
setFilterOnliner () | |
if this filter is set, only results with a website are returned | |
setFilterOffliner () | |
if this filter is set, only results without a website are returned | |
disableFilter () | |
removes the filter value | |
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) | |
setCategory ($category=null) | |
sets a category filter | |
setSite ($site) | |
sets the site filter ie: www.developergarden.com | |
setDocumentType ($type) | |
sets a filter to the given document type ie: pdf, html | |
setName ($name) | |
sets a filter for the company name ie: Deutsche Telekom | |
setZipCode ($zip) | |
sets a filter for the zip code | |
setStreet ($street) | |
sets a filter for the street | |
setCounty ($county) | |
sets a filter for the county | |
setRawParameter ($key, $value) | |
sets a raw parameter with the value | |
getSearchParameters () | |
returns the parameters as an array | |
disableDidYouMeanRelated | ( | ) |
diable did you mean related, if false Kihno will not be corrected to Kino
disableDidYouMeanWhat | ( | ) |
disable the did you mean what feature
disableDidYouMeanWhere | ( | ) |
disable the did you mean where feature
disableFilter | ( | ) |
removes the filter value
disablePhoneSeparation | ( | ) |
disable the separation of phone numbers
disableSpatial | ( | ) |
disable the spatial search feature
enableDidYouMeanRelated | ( | ) |
enable did you mean related, if true Kihno will be corrected to Kino
enableDidYouMeanWhat | ( | ) |
enable the did you mean what feature
enableDidYouMeanWhere | ( | ) |
enable the did you mean where feature
enablePhoneSeparation | ( | ) |
enable the separation of phone numbers
enableSpatial | ( | ) |
enable the spatial search feature
getSearchParameters | ( | ) |
returns the parameters as an array
getWhere | ( | ) |
returns the defined search location (ie city, country)
setCategory | ( | $category = null | ) |
sets a category filter
string | $category |
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.
mixed | $value |
setCounty | ( | $county | ) |
sets a filter for the county
string | $county |
setDocumentType | ( | $type | ) |
sets a filter to the given document type ie: pdf, html
string | $type |
setFilterOffliner | ( | ) |
if this filter is set, only results without a website are returned
setFilterOnliner | ( | ) |
if this filter is set, only results with a website are returned
setHits | ( | $hits = 10 | ) |
set the max result hits for this search
integer | $hits |
setName | ( | $name | ) |
sets a filter for the company name ie: Deutsche Telekom
string | $name |
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)
string | $time |
setRadius | ( | $radius | ) |
sets spatial and the given radius for a circle search
integer | $radius |
setRawParameter | ( | $key, | |
$value | |||
) |
sets a raw parameter with the value
string | $key | |
mixed | $value |
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
float | $lx | |
float | $ly | |
float | $rx | |
float | $ry |
setSearchValue | ( | $searchValue | ) |
sets a new search word alias for setWhat
string | $searchValue |
setSite | ( | $site | ) |
sets the site filter ie: www.developergarden.com
string | $site |
setSort | ( | $sort | ) |
sets the sort value possible values are: 'relevance' and 'distance' (only with spatial enabled)
string | $sort |
setStreet | ( | $street | ) |
sets a filter for the street
string | $street |
setTransformGeoCode | ( | ) |
if set, the service returns the zipcode for the result
setWhat | ( | $searchValue | ) |
sets a new search word
string | $searchValue |
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
string | $where |
setZipCode | ( | $zip | ) |
sets a filter for the zip code
string | $zip |