[44] | 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 license@zend.com so we can send you a copy immediately.
|
---|
| 15 | *
|
---|
| 16 | * @category Zend
|
---|
| 17 | * @package Zend_Gdata
|
---|
| 18 | * @subpackage Geo
|
---|
| 19 | * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
---|
| 20 | * @license http://framework.zend.com/license/new-bsd New BSD License
|
---|
| 21 | */
|
---|
| 22 |
|
---|
| 23 | /**
|
---|
| 24 | * @see Zend_Gdata
|
---|
| 25 | */
|
---|
| 26 | require_once 'Zend/Gdata.php';
|
---|
| 27 |
|
---|
| 28 | /**
|
---|
| 29 | * Service class for interacting with the services which use the
|
---|
| 30 | * GeoRSS + GML extensions.
|
---|
| 31 | * @link http://georss.org/
|
---|
| 32 | * @link http://www.opengis.net/gml/
|
---|
| 33 | * @link http://code.google.com/apis/picasaweb/reference.html#georss_reference
|
---|
| 34 | *
|
---|
| 35 | * @category Zend
|
---|
| 36 | * @package Zend_Gdata
|
---|
| 37 | * @subpackage Geo
|
---|
| 38 | * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
---|
| 39 | * @license http://framework.zend.com/license/new-bsd New BSD License
|
---|
| 40 | */
|
---|
| 41 | class Zend_Gdata_Geo extends Zend_Gdata
|
---|
| 42 | {
|
---|
| 43 |
|
---|
| 44 | /**
|
---|
| 45 | * Namespaces used for Zend_Gdata_Geo
|
---|
| 46 | *
|
---|
| 47 | * @var array
|
---|
| 48 | */
|
---|
| 49 | public static $namespaces = array(
|
---|
| 50 | array('georss', 'http://www.georss.org/georss', 1, 0),
|
---|
| 51 | array('gml', 'http://www.opengis.net/gml', 1, 0)
|
---|
| 52 | );
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | /**
|
---|
| 56 | * Create Zend_Gdata_Geo object
|
---|
| 57 | *
|
---|
| 58 | * @param Zend_Http_Client $client (optional) The HTTP client to use when
|
---|
| 59 | * when communicating with the Google Apps servers.
|
---|
| 60 | * @param string $applicationId The identity of the app in the form of Company-AppName-Version
|
---|
| 61 | */
|
---|
| 62 | public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')
|
---|
| 63 | {
|
---|
| 64 | $this->registerPackage('Zend_Gdata_Geo');
|
---|
| 65 | $this->registerPackage('Zend_Gdata_Geo_Extension');
|
---|
| 66 | parent::__construct($client, $applicationId);
|
---|
| 67 | }
|
---|
| 68 |
|
---|
| 69 | }
|
---|