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

Public Member Functions

 __construct ($url=null, $width=null, $height=null)
 Constructs a new MediaPlayer element.
 
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 Retrieves a DOMElement which corresponds to this element and all child properties.
 
 getUrl ()
 
 setUrl ($value)
 
 getWidth ()
 
 setWidth ($value)
 
 getHeight ()
 
 setHeight ($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 = 'player'
 
 $_rootNamespace = 'media'
 
 $_url = null
 
 $_width = null
 
 $_height = 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 (   $url = null,
  $width = null,
  $height = null 
)

Constructs a new MediaPlayer element.

Parameters
string$url
int$width
int$height

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.
getHeight ( )
Returns
int
getUrl ( )
Returns
string
getWidth ( )
Returns
int
setHeight (   $value)
Parameters
int$value
Returns
Zend_Gdata_Media_Extension_MediaPlayer Provides a fluent interface
setUrl (   $value)
Parameters
string$value
Returns
Zend_Gdata_Media_Extension_MediaPlayer Provides a fluent interface
setWidth (   $value)
Parameters
int$value
Returns
Zend_Gdata_Media_Extension_MediaPlayer 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

$_height = null
protected
$_rootElement = 'player'
protected
$_rootNamespace = 'media'
protected
$_url = null
protected
$_width = null
protected