Zend_Gdata_YouTube_Extension_Private

Represents the yt:private element used by the YouTube data API.

Defined (1)

The class is defined in the following location(s).

/inc/VideoUploader/includes/Zend/Gdata/YouTube/Extension/Private.php  
  1. class Zend_Gdata_YouTube_Extension_Private extends Zend_Gdata_Extension 
  2.  
  3. protected $_rootNamespace = 'yt'; 
  4. protected $_rootElement = 'private'; 
  5.  
  6. /** 
  7. * Constructs a new Zend_Gdata_YouTube_Extension_Private object. 
  8. */ 
  9. public function __construct() 
  10. $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces); 
  11. parent::__construct(); 
  12.  
  13. /** 
  14. * Retrieves a DOMElement which corresponds to this element and all 
  15. * child properties. This is used to build an entry back into a DOM 
  16. * and eventually XML text for sending to the server upon updates, or 
  17. * for application storage/persistence. 
  18. * @param DOMDocument $doc The DOMDocument used to construct DOMElements 
  19. * @return DOMElement The DOMElement representing this element and all 
  20. * child properties. 
  21. */ 
  22. public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null) 
  23. $element = parent::getDOM($doc, $majorVersion, $minorVersion); 
  24. return $element; 
  25.  
  26. /** 
  27. * Given a DOMNode representing an attribute, tries to map the data into 
  28. * instance members. If no mapping is defined, the name and valueare 
  29. * stored in an array. 
  30. * @param DOMNode $attribute The DOMNode attribute needed to be handled 
  31. */ 
  32. protected function takeAttributeFromDOM($attribute) 
  33. parent::takeAttributeFromDOM($attribute); 
  34.