[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Zend Framework 4 * 5 * LICENSE 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 9 * It is also available through the world-wide-web at this URL: 10 * http://framework.zend.com/license/new-bsd 11 * If you did not receive a copy of the license and are unable to 12 * obtain it through the world-wide-web, please send an email 13 * to [email protected] so we can send you a copy immediately. 14 * 15 * @category Zend 16 * @package Zend_Service 17 * @subpackage DeveloperGarden 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id$ 21 */ 22 23 /** 24 * @see Zend_Service_DeveloperGarden_Client_ClientAbstract 25 */ 26 require_once 'Zend/Service/DeveloperGarden/Client/ClientAbstract.php'; 27 28 /** 29 * @see Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType 30 */ 31 require_once 'Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponseType.php'; 32 33 /** 34 * @see Zend_Service_DeveloperGarden_Request_LocalSearch_LocalSearchRequest 35 */ 36 require_once 'Zend/Service/DeveloperGarden/Request/LocalSearch/LocalSearchRequest.php'; 37 38 /** 39 * @see Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponse 40 */ 41 require_once 'Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponse.php'; 42 43 /** 44 * @see Zend_Service_DeveloperGarden_LocalSearch_SearchParameters 45 */ 46 require_once 'Zend/Service/DeveloperGarden/LocalSearch/SearchParameters.php'; 47 48 /** 49 * @category Zend 50 * @package Zend_Service 51 * @subpackage DeveloperGarden 52 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 53 * @author Marco Kaiser 54 * @license http://framework.zend.com/license/new-bsd New BSD License 55 */ 56 class Zend_Service_DeveloperGarden_LocalSearch 57 extends Zend_Service_DeveloperGarden_Client_ClientAbstract 58 { 59 /** 60 * wsdl file 61 * 62 * @var string 63 */ 64 protected $_wsdlFile = 'https://gateway.developer.telekom.com/p3gw-mod-odg-localsearch/services/localsearch?wsdl'; 65 66 /** 67 * wsdl file local 68 * 69 * @var string 70 */ 71 protected $_wsdlFileLocal = 'Wsdl/localsearch.wsdl'; 72 73 /** 74 * Response, Request Classmapping 75 * 76 * @var array 77 * 78 */ 79 protected $_classMap = array( 80 'LocalSearchResponseType' => 'Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType' 81 ); 82 83 /** 84 * localSearch with the given parameters 85 * 86 * @param Zend_Service_DeveloperGarden_LocalSearch_SearchParameters $searchParameters 87 * @param integer $account 88 * @return Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType 89 */ 90 public function localSearch( 91 Zend_Service_DeveloperGarden_LocalSearch_SearchParameters $searchParameters, 92 $account = null 93 ) { 94 $request = new Zend_Service_DeveloperGarden_Request_LocalSearch_LocalSearchRequest( 95 $this->getEnvironment(), 96 $searchParameters, 97 $account 98 ); 99 100 $result = $this->getSoapClient()->localSearch($request); 101 102 $response = new Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponse($result); 103 return $response->parse(); 104 } 105 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |