Geo.php 2.1 KB

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