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

Public Member Functions

 __construct ($value)
 getValue ()

Protected Attributes

 $_phpFormatString = 'Ymd\\TH:i:s'
 $_isoFormatString = 'YYYYMMddTHH:mm:ss'

Detailed Description

Definition at line 37 of file DateTime.php.


Constructor & Destructor Documentation

__construct ( value)

Set the value of a dateTime.iso8601 native type

The value is in iso8601 format, minus any timezone information or dashes

Parameters:
mixed$valueInteger of the unix timestamp or any string that can be parsed to a unix timestamp using the PHP strtotime() function

Definition at line 61 of file DateTime.php.


Member Function Documentation

getValue ( )

Return the value of this object as iso8601 dateTime value

Returns:
int As a Unix timestamp

Reimplemented from Zend_XmlRpc_Value.

Definition at line 87 of file DateTime.php.


Field Documentation

$_isoFormatString = 'YYYYMMddTHH:mm:ss' [protected]

Definition at line 51 of file DateTime.php.

$_phpFormatString = 'Ymd\\TH:i:s' [protected]

Definition at line 44 of file DateTime.php.


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