import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Gdata
|
||||
* @subpackage Photos
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Nickname extends Zend_Gdata_Extension
|
||||
|
||||
protected $_rootNamespace = 'gphoto';
|
||||
protected $_rootElement = 'nickname';
|
||||
|
||||
|
||||
/**
|
||||
* Constructs a new Zend_Gdata_Photos_Extension_Nickname object.
|
||||
*
|
||||
*
|
||||
* @param string $text (optional) The value being represented.
|
||||
*/
|
||||
public function __construct($text = null)
|
||||
public function __construct($text = null)
|
||||
{
|
||||
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
|
||||
$this->registerNamespace($nsPrefix, $nsUri);
|
||||
}
|
||||
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
|
||||
parent::__construct();
|
||||
$this->setText($text);
|
||||
}
|
||||
|
Reference in New Issue
Block a user