[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/ -> Geo.php (source)

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


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1