Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Gdata_YouTube_Extension_MediaCredit Class Reference

Public Member Functions

 __construct ($text=null, $role=null, $scheme=null, $yttype=null)
 Creates an individual MediaCredit object.
 
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 Retrieves a DOMElement which corresponds to this element and all child properties.
 
 getRole ()
 
 setRole ($value)
 
 getScheme ()
 
 setScheme ($value)
 
 getYTtype ()
 
 setYTtype ($value)
 
- Public Member Functions inherited from Zend_Gdata_Extension
 __construct ()
 

Protected Member Functions

 takeAttributeFromDOM ($attribute)
 Given a DOMNode representing an attribute, tries to map the data into instance members.
 

Protected Attributes

 $_rootElement = 'credit'
 
 $_rootNamespace = 'media'
 
 $_role = null
 
 $_scheme = null
 
 $_yttype = null
 
- Protected Attributes inherited from Zend_Gdata_Extension
 $_rootNamespace = 'gd'
 

Additional Inherited Members

- Static Public Member Functions inherited from Zend_Gdata_App_Base
static flushNamespaceLookupCache ()
 Flush namespace lookup cache.
 
- Static Protected Attributes inherited from Zend_Gdata_App_Base
static $_namespaceLookupCache = array()
 

Constructor & Destructor Documentation

__construct (   $text = null,
  $role = null,
  $scheme = null,
  $yttype = null 
)

Creates an individual MediaCredit object.

Parameters
string$text
string$role
string$scheme

Member Function Documentation

getDOM (   $doc = null,
  $majorVersion = 1,
  $minorVersion = null 
)

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.

Parameters
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns
DOMElement The DOMElement representing this element and all child properties.
getRole ( )
Returns
string
getScheme ( )
Returns
string
getYTtype ( )
Returns
string
setRole (   $value)
Parameters
string$value
Returns
Zend_Gdata_Media_Extension_MediaCredit Provides a fluent interface
setScheme (   $value)
Parameters
string$value
Returns
Zend_Gdata_Media_Extension_MediaCredit Provides a fluent interface
setYTtype (   $value)
Parameters
string$value
Returns
Zend_Gdata_Media_Extension_MediaCredit Provides a fluent interface
takeAttributeFromDOM (   $attribute)
protected

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.

Parameters
DOMNode$attributeThe DOMNode attribute needed to be handled

Member Data Documentation

$_role = null
protected
$_rootElement = 'credit'
protected
$_rootNamespace = 'media'
protected
$_scheme = null
protected
$_yttype = null
protected