Renaming Zend_Gdata_Dublincore to Zend_Gdata_DublinCore to correspond with Zend
[zend.git] / library / Zend / Gdata / Dublincore / Extension / Subject.php
blobab147de3538ce89ebe9dfc82480d76ea678ccfc8
1 <?php
3 /**
4 * Zend Framework
6 * LICENSE
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.
16 * @category Zend
17 * @package Zend_Gdata
18 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc.
19 * (http://www.zend.com)
20 * @license http://framework.zend.com/license/new-bsd New BSD License
23 /**
24 * @see Zend_Gdata_Extension
26 require_once 'Zend/Gdata/Extension.php';
28 /**
29 * Topic of the resource
31 * @category Zend
32 * @package Zend_Gdata
33 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc.
34 * (http://www.zend.com)
35 * @license http://framework.zend.com/license/new-bsd New BSD License
37 class Zend_Gdata_DublinCore_Extension_Subject extends Zend_Gdata_Extension
40 protected $_rootNamespace = 'dc';
41 protected $_rootElement = 'subject';
43 /**
44 * Constructor for Zend_Gdata_DublinCore_Extension_Subject which
45 * Topic of the resource
47 * @param DOMElement $element (optional) DOMElement from which this
48 * object should be constructed.
50 public function __construct($value = null)
52 foreach (Zend_Gdata_DublinCore::$namespaces as $nsPrefix => $nsUri) {
53 $this->registerNamespace($nsPrefix, $nsUri);
55 parent::__construct();
56 $this->_text = $value;