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

Public Member Functions

 __construct ($startTime=null, $endTime=null, $valueString=null, $reminders=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 __toString ()
 getStartTime ()
 setStartTime ($value)
 getEndTime ()
 setEndTime ($value)
 getValueString ()
 setValueString ($value)
 getReminders ()
 setReminders ($value)

Protected Member Functions

 takeChildFromDOM ($child)
 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootElement = 'when'
 $_reminders = array()
 $_startTime = null
 $_valueString = null
 $_endTime = null

Detailed Description

Definition at line 43 of file When.php.


Constructor & Destructor Documentation

__construct ( startTime = null,
endTime = null,
valueString = null,
reminders = null 
)

Definition at line 52 of file When.php.

Here is the call graph for this function:


Member Function Documentation

Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0

Returns:
string The text representation of this object

Reimplemented from Zend_Gdata_App_Base.

Definition at line 115 of file When.php.

Here is the call graph for this function:

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 62 of file When.php.

Definition at line 136 of file When.php.

Here is the caller graph for this function:

Definition at line 158 of file When.php.

Definition at line 125 of file When.php.

Here is the caller graph for this function:

Definition at line 147 of file When.php.

setEndTime ( value)

Definition at line 141 of file When.php.

setReminders ( value)

Definition at line 163 of file When.php.

setStartTime ( value)

Definition at line 130 of file When.php.

setValueString ( value)

Definition at line 152 of file When.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 98 of file When.php.

takeChildFromDOM ( child) [protected]

Given a child DOMNode, tries to determine how to map the data into object instance members. If no mapping is defined, Extension_Element objects are created and stored in an array.

Parameters:
DOMNode$childThe DOMNode needed to be handled

Reimplemented from Zend_Gdata_App_Base.

Definition at line 83 of file When.php.

Here is the call graph for this function:


Field Documentation

$_endTime = null [protected]

Definition at line 50 of file When.php.

$_reminders = array() [protected]

Definition at line 47 of file When.php.

$_rootElement = 'when' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 46 of file When.php.

$_startTime = null [protected]

Definition at line 48 of file When.php.

$_valueString = null [protected]

Definition at line 49 of file When.php.


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