web/lib/Zend/Service/DeveloperGarden/LocalSearch/SearchParameters.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
equal deleted inserted replaced
805:5e7a0fedabdf 807:877f952ae2bd
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Service
    16  * @package    Zend_Service
    17  * @subpackage DeveloperGarden
    17  * @subpackage DeveloperGarden
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: SearchParameters.php 22662 2010-07-24 17:37:36Z mabe $
    20  * @version    $Id: SearchParameters.php 24593 2012-01-05 20:35:02Z matthew $
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * @category   Zend
    24  * @category   Zend
    25  * @package    Zend_Service
    25  * @package    Zend_Service
    26  * @subpackage DeveloperGarden
    26  * @subpackage DeveloperGarden
    27  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    27  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    28  * @author     Marco Kaiser
    28  * @author     Marco Kaiser
    29  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    29  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    30  */
    30  */
    31 class Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
    31 class Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
    32 {
    32 {
   292      * lx = longitude left top
   292      * lx = longitude left top
   293      * ly = latitude left top
   293      * ly = latitude left top
   294      * rx = longitude right bottom
   294      * rx = longitude right bottom
   295      * ry = latitude right bottom
   295      * ry = latitude right bottom
   296      *
   296      *
   297      * @param $lx
   297      * @param float $lx
   298      * @param $ly
   298      * @param float $ly
   299      * @param $rx
   299      * @param float $rx
   300      * @param $ry
   300      * @param float $ry
   301      * @return Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
   301      * @return Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
   302      */
   302      */
   303     public function setRectangle($lx, $ly, $rx, $ry)
   303     public function setRectangle($lx, $ly, $rx, $ry)
   304     {
   304     {
   305         $this->_parameters['lx'] = $lx;
   305         $this->_parameters['lx'] = $lx;
   414 
   414 
   415     /**
   415     /**
   416      * sets a category filter
   416      * sets a category filter
   417      *
   417      *
   418      * @see http://www.suchen.de/kategorie-katalog
   418      * @see http://www.suchen.de/kategorie-katalog
   419      * @param $category
   419      * @param string $category
   420      * @return unknown_type
   420      * @return Zend_Service_DeveloperGarden_LocalSearch_SearchParameters
   421      */
   421      */
   422     public function setCategory($category = null)
   422     public function setCategory($category = null)
   423     {
   423     {
   424         $this->_parameters['kategorie'] = $category;
   424         $this->_parameters['kategorie'] = $category;
   425         return $this;
   425         return $this;