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

Public Member Functions

 __construct ($draft=null, $state=null)
 Constructs a new Zend_Gdata_Calendar_Extension_Control object.
 
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 Retrieves a DOMElement which corresponds to this element and all child properties.
 
 getState ()
 Get the value for this element's state attribute.
 
 setState ($value)
 Set the value for this element's state attribute.
 
 getStateValue ()
 Get the value of this element's state attribute.
 
- Public Member Functions inherited from Zend_Gdata_App_Extension_Control
 __construct ($draft=null)
 
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 
 getDraft ()
 
 setDraft ($value)
 

Protected Member Functions

 takeChildFromDOM ($child)
 Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.
 
- Protected Member Functions inherited from Zend_Gdata_App_Extension_Control
 takeChildFromDOM ($child)
 

Protected Attributes

 $_state = null
 
- Protected Attributes inherited from Zend_Gdata_App_Extension_Control
 $_rootNamespace = 'app'
 
 $_rootElement = 'control'
 
 $_draft = null
 

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 (   $draft = null,
  $state = null 
)

Constructs a new Zend_Gdata_Calendar_Extension_Control object.

See Also
Zend_Gdata_App_Extension_Control::__construct
Parameters
Zend_Gdata_App_Extension_Draft$draft
Zend_Gdata_YouTube_Extension_State$state

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.
getState ( )

Get the value for this element's state attribute.

Returns
Zend_Gdata_YouTube_Extension_State The state element.
getStateValue ( )

Get the value of this element's state attribute.

Returns
string The state's text value
setState (   $value)

Set the value for this element's state attribute.

Parameters
Zend_Gdata_YouTube_Extension_State$valueThe desired value for this attribute.
Returns
Zend_YouTube_Extension_Control The element being modified.
takeChildFromDOM (   $child)
protected

Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.

Parameters
DOMNode$childThe DOMNode to process

Member Data Documentation

$_state = null
protected