Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_Calendar_Extension_WebContent Class Reference
Inheritance diagram for Zend_Gdata_Calendar_Extension_WebContent:
Collaboration diagram for Zend_Gdata_Calendar_Extension_WebContent:

Public Member Functions

 __construct ($url=null, $height=null, $width=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getURL ()
 setURL ($value)
 getHeight ()
 setHeight ($value)
 getWidth ()
 setWidth ($value)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootNamespace = 'gCal'
 $_rootElement = 'webContent'
 $_url = null
 $_height = null
 $_width = null

Detailed Description

Definition at line 38 of file WebContent.php.


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.

Definition at line 53 of file WebContent.php.

Here is the call graph for this function:


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.

Reimplemented from Zend_Gdata_App_Base.

Definition at line 72 of file WebContent.php.

getHeight ( )

Get the value for this element's height attribute.

Returns:
int The desired value for this attribute.

Definition at line 138 of file WebContent.php.

getURL ( )

Get the value for this element's URL attribute.

Returns:
string The desired value for this attribute.

Definition at line 116 of file WebContent.php.

getWidth ( )

Get the value for this element's height attribute.

Returns:
int The desired value for this attribute.

Definition at line 160 of file WebContent.php.

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.

Definition at line 149 of file WebContent.php.

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.

Definition at line 127 of file WebContent.php.

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.

Definition at line 171 of file WebContent.php.

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

Reimplemented from Zend_Gdata_App_Base.

Definition at line 94 of file WebContent.php.


Field Documentation

$_height = null [protected]

Definition at line 44 of file WebContent.php.

$_rootElement = 'webContent' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 42 of file WebContent.php.

$_rootNamespace = 'gCal' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 41 of file WebContent.php.

$_url = null [protected]

Definition at line 43 of file WebContent.php.

$_width = null [protected]

Definition at line 45 of file WebContent.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations