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

Public Member Functions

 __construct ($text=null, $type=null, $lang=null, $start=null, $end=null)
 Constructs a new MediaText element.
 
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 Retrieves a DOMElement which corresponds to this element and all child properties.
 
 getType ()
 
 setType ($value)
 
 getLang ()
 
 setLang ($value)
 
 getStart ()
 
 setStart ($value)
 
 getEnd ()
 
 setEnd ($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 = 'text'
 
 $_rootNamespace = 'media'
 
 $_type = null
 
 $_lang = null
 
 $_start = null
 
 $_end = 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,
  $type = null,
  $lang = null,
  $start = null,
  $end = null 
)

Constructs a new MediaText element.

Parameters
string$text
string$type
string$lang
string$start
string$end

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.
getEnd ( )
Returns
string
getLang ( )
Returns
string
getStart ( )
Returns
string
getType ( )
Returns
string
setEnd (   $value)
Parameters
string$value
Returns
Zend_Gdata_Media_Extension_MediaText Provides a fluent interface
setLang (   $value)
Parameters
string$value
Returns
Zend_Gdata_Media_Extension_MediaText Provides a fluent interface
setStart (   $value)
Parameters
string$value
Returns
Zend_Gdata_Media_Extension_MediaText Provides a fluent interface
setType (   $value)
Parameters
string$value
Returns
Zend_Gdata_Media_Extension_MediaText 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

$_end = null
protected
$_lang = null
protected
$_rootElement = 'text'
protected
$_rootNamespace = 'media'
protected
$_start = null
protected
$_type = null
protected