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

Public Member Functions

 __construct ($url=null, $height=null, $width=null)
 Constructs a new Zend_Gdata_Calendar_Extension_WebContent object.
 
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 Retrieves a DOMElement which corresponds to this element and all child properties.
 
 getURL ()
 Get the value for this element's URL attribute.
 
 setURL ($value)
 Set the value for this element's URL attribute.
 
 getHeight ()
 Get the value for this element's height attribute.
 
 setHeight ($value)
 Set the value for this element's height attribute.
 
 getWidth ()
 Get the value for this element's height attribute.
 
 setWidth ($value)
 Set the value for this element's height attribute.
 

Protected Member Functions

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

Protected Attributes

 $_rootNamespace = 'gCal'
 
 $_rootElement = 'webContent'
 
 $_url = null
 
 $_height = null
 
 $_width = 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 (   $url = null,
  $height = null,
  $width = null 
)

Constructs a new Zend_Gdata_Calendar_Extension_WebContent object.

Parameters
string$url(optional) The value for this element's URL attribute.
string$height(optional) The value for this element's height attribute.
string$width(optional) The value for this element's width attribute.

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

Get the value for this element's height attribute.

Returns
int The desired value for this attribute.
getURL ( )

Get the value for this element's URL attribute.

Returns
string The desired value for this attribute.
getWidth ( )

Get the value for this element's height attribute.

Returns
int The desired value for this attribute.
setHeight (   $value)

Set the value for this element's height attribute.

Parameters
int$valueThe desired value for this attribute.
Returns
Zend_Gdata_Calendar_Extension_WebContent The element being modified.
setURL (   $value)

Set the value for this element's URL attribute.

Parameters
bool$valueThe desired value for this attribute.
Returns
Zend_Gdata_Calendar_Extension_WebContent The element being modified.
setWidth (   $value)

Set the value for this element's height attribute.

Parameters
int$valueThe desired value for this attribute.
Returns
Zend_Gdata_Calendar_Extension_WebContent The element being modified.
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 = 'webContent'
protected
$_rootNamespace = 'gCal'
protected
$_url = null
protected
$_width = null
protected