File indexing completed on 2025-03-02 05:29:29
0001 <?php 0002 0003 /** 0004 * Zend Framework 0005 * 0006 * LICENSE 0007 * 0008 * This source file is subject to the new BSD license that is bundled 0009 * with this package in the file LICENSE.txt. 0010 * It is also available through the world-wide-web at this URL: 0011 * http://framework.zend.com/license/new-bsd 0012 * If you did not receive a copy of the license and are unable to 0013 * obtain it through the world-wide-web, please send an email 0014 * to license@zend.com so we can send you a copy immediately. 0015 * 0016 * @category Zend 0017 * @package Zend_Gdata 0018 * @subpackage Gdata 0019 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0020 * @license http://framework.zend.com/license/new-bsd New BSD License 0021 * @version $Id$ 0022 */ 0023 0024 /** 0025 * @see Zend_Gdata_App_Extension 0026 */ 0027 // require_once 'Zend/Gdata/App/Extension.php'; 0028 0029 /** 0030 * Represents a Gdata extension 0031 * 0032 * @category Zend 0033 * @package Zend_Gdata 0034 * @subpackage Gdata 0035 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0036 * @license http://framework.zend.com/license/new-bsd New BSD License 0037 */ 0038 class Zend_Gdata_Extension extends Zend_Gdata_App_Extension 0039 { 0040 0041 protected $_rootNamespace = 'gd'; 0042 0043 public function __construct() 0044 { 0045 /* NOTE: namespaces must be registered before calling parent */ 0046 $this->registerNamespace('gd', 0047 'http://schemas.google.com/g/2005'); 0048 $this->registerNamespace('openSearch', 0049 'http://a9.com/-/spec/opensearchrss/1.0/', 1, 0); 0050 $this->registerNamespace('openSearch', 0051 'http://a9.com/-/spec/opensearch/1.1/', 2, 0); 0052 $this->registerNamespace('rss', 0053 'http://blogs.law.harvard.edu/tech/rss'); 0054 0055 parent::__construct(); 0056 } 0057 0058 }