[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Zend Framework 5 * 6 * LICENSE 7 * 8 * This source file is subject to the new BSD license that is bundled 9 * with this package in the file LICENSE.txt. 10 * It is also available through the world-wide-web at this URL: 11 * http://framework.zend.com/license/new-bsd 12 * If you did not receive a copy of the license and are unable to 13 * obtain it through the world-wide-web, please send an email 14 * to [email protected] so we can send you a copy immediately. 15 * 16 * @category Zend 17 * @package Zend_Service 18 * @subpackage Yahoo 19 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id$ 22 */ 23 24 25 /** 26 * @see Zend_Service_Yahoo_Result 27 */ 28 require_once 'Zend/Service/Yahoo/Result.php'; 29 30 31 /** 32 * @category Zend 33 * @package Zend_Service 34 * @subpackage Yahoo 35 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 36 * @license http://framework.zend.com/license/new-bsd New BSD License 37 */ 38 class Zend_Service_Yahoo_LocalResult extends Zend_Service_Yahoo_Result 39 { 40 /** 41 * Street address of the result 42 * 43 * @var string 44 */ 45 public $Address; 46 47 /** 48 * City in which the result resides 49 * 50 * @var string 51 */ 52 public $City; 53 54 /** 55 * State in which the result resides 56 * 57 * @var string 58 */ 59 public $State; 60 61 /** 62 * Phone number for the result 63 * 64 * @var string 65 */ 66 public $Phone; 67 68 /** 69 * User-submitted rating for the result 70 * 71 * @var string 72 */ 73 public $Rating; 74 75 /** 76 * The distance to the result from your specified location 77 * 78 * @var string 79 */ 80 public $Distance; 81 82 /** 83 * A URL of a map for the result 84 * 85 * @var string 86 */ 87 public $MapUrl; 88 89 /** 90 * The URL for the business website, if known 91 * 92 * @var string 93 */ 94 public $BusinessUrl; 95 96 /** 97 * The URL for linking to the business website, if known 98 * 99 * @var string 100 */ 101 public $BusinessClickUrl; 102 103 /** 104 * Local result namespace 105 * 106 * @var string 107 */ 108 protected $_namespace = 'urn:yahoo:lcl'; 109 110 111 /** 112 * Initializes the local result 113 * 114 * @param DOMElement $result 115 * @return void 116 */ 117 public function __construct(DOMElement $result) 118 { 119 $this->_fields = array('Address','City', 'City', 'State', 'Phone', 'Rating', 'Distance', 'MapUrl', 120 'BusinessUrl', 'BusinessClickUrl'); 121 122 parent::__construct($result); 123 } 124 }
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 |