Service/DeveloperGarden/LocalSearch/SearchParameters.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- DeveloperGarden
- Version
- $Id$
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
- Author
- Marco Kaiser
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
array $_parameters = array('what' => null, 'dymwhat' => null, 'dymrelated' => null, 'hits' => null, 'collapse' => null, 'where' => null, 'dywhere' => null, 'radius' => null, 'lx' => null, 'ly' => null, 'rx' => null, 'ry' => null, 'transformgeocode' => null, 'sort' => null, 'spatial' => null, 'sepcomm' => null, 'filter' => null, 'openingtime' => null, 'kategorie' => null, 'site' => null, 'typ' => null, 'name' => null, 'page' => null, 'city' => null, 'plz' => null, 'strasse' => null, 'bundesland' => null)
array('what' => null, 'dymwhat' => null, 'dymrelated' => null, 'hits' => null, 'collapse' => null, 'where' => null, 'dywhere' => null, 'radius' => null, 'lx' => null, 'ly' => null, 'rx' => null, 'ry' => null, 'transformgeocode' => null, 'sort' => null, 'spatial' => null, 'sepcomm' => null, 'filter' => null, 'openingtime' => null, 'kategorie' => null, 'site' => null, 'typ' => null, 'name' => null, 'page' => null, 'city' => null, 'plz' => null, 'strasse' => null, 'bundesland' => null)
Details- Type
- array
Methods
disableDidYouMeanRelated() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
diable did you mean related, if false Kihno will not be corrected to Kino
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
disableDidYouMeanWhat() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
disable the did you mean what feature
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
disableDidYouMeanWhere() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
disable the did you mean where feature
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
disableFilter() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
removes the filter value
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
disablePhoneSeparation() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
disable the separation of phone numbers
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
disableSpatial() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
disable the spatial search feature
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
enableDidYouMeanRelated() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable did you mean related, if true Kihno will be corrected to Kino
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
enableDidYouMeanWhat() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable the did you mean what feature
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
enableDidYouMeanWhere() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable the did you mean where feature
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
enablePhoneSeparation() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable the separation of phone numbers
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
enableSpatial() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
enable the spatial search feature
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
getWhere() : string
returns the defined search location (ie city, country)
Type | Description |
---|---|
string |
setCategory(string $category = null) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a category filter
Name | Type | Description |
---|---|---|
$category | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
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
Name | Type | Description |
---|---|---|
$value | mixed |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setCounty(string $county) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter for the county
Name | Type | Description |
---|---|---|
$county | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setDocumentType(string $type) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter to the given document type ie: pdf, html
Name | Type | Description |
---|---|---|
$type | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setFilterOffliner() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
if this filter is set, only results without a website are returned
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setFilterOnliner() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
if this filter is set, only results with a website are returned
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setHits(integer $hits = 10) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
set the max result hits for this search
Name | Type | Description |
---|---|---|
$hits | integer |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setName(string $name) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter for the company name ie: Deutsche Telekom
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
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)
Name | Type | Description |
---|---|---|
$time | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setRadius(integer $radius) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets spatial and the given radius for a circle search
Name | Type | Description |
---|---|---|
$radius | integer |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setRawParameter(string $key, mixed $value) : \unknown_type
sets a raw parameter with the value
Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
Type | Description |
---|---|
\unknown_type |
setRectangle(float $lx, float $ly, float $rx, float $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
Name | Type | Description |
---|---|---|
$lx | float | |
$ly | float | |
$rx | float | |
$ry | float |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setSearchValue(string $searchValue) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a new search word alias for setWhat
Name | Type | Description |
---|---|---|
$searchValue | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setSite(string $site) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets the site filter ie: www.developergarden.com
Name | Type | Description |
---|---|---|
$site | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setSort(string $sort) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets the sort value possible values are: 'relevance' and 'distance' (only with spatial enabled)
Name | Type | Description |
---|---|---|
$sort | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setStreet(string $street) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter for the street
Name | Type | Description |
---|---|---|
$street | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setTransformGeoCode() : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
if set, the service returns the zipcode for the result
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setWhat(string $searchValue) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a new search word
Name | Type | Description |
---|---|---|
$searchValue | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
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
Name | Type | Description |
---|---|---|
$where | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |
setZipCode(string $zip) : \Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
sets a filter for the zip code
Name | Type | Description |
---|---|---|
$zip | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_LocalSearch_SearchParameters |