Class Zend_Gdata_YouTube_Extension_MediaCredit

Description

Represents the YouTube specific media:credit element

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Gdata/YouTube/Extension/MediaCredit.php (line 38)

Zend_Gdata_App_Base
   |
   --Zend_Gdata_App_Extension
      |
      --Zend_Gdata_Extension
         |
         --Zend_Gdata_YouTube_Extension_MediaCredit
Variable Summary
 string $_role
 string $_scheme
 string $_yttype
Method Summary
 Zend_Gdata_YouTube_Extension_MediaCredit __construct ([string $text = null], [string $role = null], [string $scheme = null], [ $yttype = null])
 DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
 string getRole ()
 string getScheme ()
 string getYTtype ()
 void takeAttributeFromDOM (DOMNode $attribute)
Variables
string $_role = null (line 47)
  • access: protected
mixed $_rootElement = 'credit' (line 41)
  • access: protected

Redefinition of:
Zend_Gdata_App_Base::$_rootElement
mixed $_rootNamespace = 'media' (line 42)
  • access: protected

Redefinition of:
Zend_Gdata_Extension::$_rootNamespace
string $_scheme = null (line 52)
  • access: protected
string $_yttype = null (line 62)

Represents the value of the yt:type attribute.

Set to 'partner' if the uploader of this video is a YouTube partner.

  • access: protected

Inherited Variables

Inherited from Zend_Gdata_App_Base

Zend_Gdata_App_Base::$_extensionAttributes
Zend_Gdata_App_Base::$_extensionElements
Zend_Gdata_App_Base::$_namespaceLookupCache
Zend_Gdata_App_Base::$_namespaces
Zend_Gdata_App_Base::$_rootNamespaceURI
Zend_Gdata_App_Base::$_text
Methods
Constructor __construct (line 71)

Creates an individual MediaCredit object.

  • access: public
Zend_Gdata_YouTube_Extension_MediaCredit __construct ([string $text = null], [string $role = null], [string $scheme = null], [ $yttype = null])
  • string $text
  • string $role
  • string $scheme
  • $yttype

Redefinition of:
Zend_Gdata_Extension::__construct()
getDOM (line 92)

Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.

  • return: The DOMElement representing this element and all child properties.
  • access: public
DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
  • DOMDocument $doc: The DOMDocument used to construct DOMElements
  • $majorVersion
  • $minorVersion

Redefinition of:
Zend_Gdata_App_Base::getDOM()
Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.
getRole (line 135)
  • access: public
string getRole ()
getScheme (line 154)
  • access: public
string getScheme ()
getYTtype (line 173)
  • access: public
string getYTtype ()
setRole (line 145)
  • return: Provides a fluent interface
  • access: public
Zend_Gdata_Media_Extension_MediaCredit setRole (string $value)
  • string $value
setScheme (line 164)
  • return: Provides a fluent interface
  • access: public
Zend_Gdata_Media_Extension_MediaCredit setScheme (string $value)
  • string $value
setYTtype (line 183)
  • return: Provides a fluent interface
  • access: public
Zend_Gdata_Media_Extension_MediaCredit setYTtype (string $value)
  • string $value
takeAttributeFromDOM (line 115)

Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.

  • access: protected
void takeAttributeFromDOM (DOMNode $attribute)
  • DOMNode $attribute: The DOMNode attribute needed to be handled

Redefinition of:
Zend_Gdata_App_Base::takeAttributeFromDOM()
Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.

Inherited Methods

Inherited From Zend_Gdata_Extension

 Zend_Gdata_Extension::__construct()

Inherited From Zend_Gdata_App_Base

 Zend_Gdata_App_Base::__construct()
 Zend_Gdata_App_Base::encode()
 Zend_Gdata_App_Base::flushNamespaceLookupCache()
 Zend_Gdata_App_Base::getDOM()
 Zend_Gdata_App_Base::getExtensionAttributes()
 Zend_Gdata_App_Base::getExtensionElements()
 Zend_Gdata_App_Base::getText()
 Zend_Gdata_App_Base::getXML()
 Zend_Gdata_App_Base::lookupNamespace()
 Zend_Gdata_App_Base::registerAllNamespaces()
 Zend_Gdata_App_Base::registerNamespace()
 Zend_Gdata_App_Base::saveXML()
 Zend_Gdata_App_Base::setExtensionAttributes()
 Zend_Gdata_App_Base::setExtensionElements()
 Zend_Gdata_App_Base::setText()
 Zend_Gdata_App_Base::takeAttributeFromDOM()
 Zend_Gdata_App_Base::takeChildFromDOM()
 Zend_Gdata_App_Base::transferFromDOM()
 Zend_Gdata_App_Base::transferFromXML()
 Zend_Gdata_App_Base::__get()
 Zend_Gdata_App_Base::__isset()
 Zend_Gdata_App_Base::__set()
 Zend_Gdata_App_Base::__toString()
 Zend_Gdata_App_Base::__unset()

Documentation generated on Mon, 21 Jun 2010 15:33:01 -0400 by phpDocumentor 1.4.3