Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
array $_parameters = 'array'
possible search parameters, incl. default values
array $_possibleCollapseValues = 'array'
possible collapse values
disableDidYouMeanRelated(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
diable did you mean related, if false Kihno will not be corrected to Kino
disableDidYouMeanWhat(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
disable the did you mean what feature
disableDidYouMeanWhere(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
disable the did you mean where feature
disableFilter(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
removes the filter value
disablePhoneSeparation(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
disable the separation of phone numbers
disableSpatial(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
disable the spatial search feature
enableDidYouMeanRelated(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable did you mean related, if true Kihno will be corrected to Kino
enableDidYouMeanWhat(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable the did you mean what feature
enableDidYouMeanWhere(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable the did you mean where feature
enablePhoneSeparation(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable the separation of phone numbers
enableSpatial(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable the spatial search feature
getSearchParameters(
)
:
array
returns the parameters as an array
getWhere(
)
:
string
returns the defined search location (ie city, country)
setCategory(
$category
=
null
)
:
unknown_type
sets a category filter
setCollapse(
mixed $value
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
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
setCounty(
string $county
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter for the county
setDocumentType(
string $type
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter to the given document type ie: pdf, html
setFilterOffliner(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
if this filter is set, only results without a website are returned
setFilterOnliner(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
if this filter is set, only results with a website are returned
setHits(
integer $hits
=
10
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
set the max result hits for this search
setName(
string $name
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter for the company name ie: Deutsche Telekom
setOpeningTime(
string $time
=
null
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
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)
setRadius(
integer $radius
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets spatial and the given radius for a circle search
setRawParameter(
string $key, mixed $value
)
:
unknown_type
sets a raw parameter with the value
setRectangle(
$lx, $ly, $rx, $ry
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets the values for a rectangle search lx = longitude left top ly = latitude left top rx = longitude right bottom ry = latitude right bottom
setSearchValue(
string $searchValue
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a new search word alias for setWhat
setSite(
string $site
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets the site filter ie: www.developergarden.com
setSort(
string $sort
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets the sort value possible values are: 'relevance' and 'distance' (only with spatial enabled)
setStreet(
string $street
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter for the street
setTransformGeoCode(
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
if set, the service returns the zipcode for the result
setWhat(
string $searchValue
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a new search word
setWhere(
string $where
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
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
setZipCode(
string $zip
)
:
Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter for the zip code