Class Zend_XmlRpc_Value_DateTime

Description
  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /XmlRpc/Value/DateTime.php (line 37)

Zend_XmlRpc_Value
   |
   --Zend_XmlRpc_Value_Scalar
      |
      --Zend_XmlRpc_Value_DateTime
Variable Summary
Method Summary
 Zend_XmlRpc_Value_DateTime __construct (mixed $value)
 int getValue ()
Variables
string $_isoFormatString = 'YYYYMMddTHH:mm:ss' (line 51)

ISO compatible format string for XML/RPC datetime values

  • access: protected
string $_phpFormatString = 'Ymd\\TH:i:s' (line 44)

PHP compatible format string for XML/RPC datetime values

  • access: protected

Inherited Variables

Inherited from Zend_XmlRpc_Value

Zend_XmlRpc_Value::$_generator
Zend_XmlRpc_Value::$_type
Zend_XmlRpc_Value::$_value
Zend_XmlRpc_Value::$_xml
Methods
Constructor __construct (line 61)

Set the value of a dateTime.iso8601 native type

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

  • access: public
Zend_XmlRpc_Value_DateTime __construct (mixed $value)
  • mixed $value: Integer of the unix timestamp or any string that can be parsed to a unix timestamp using the PHP strtotime() function
getValue (line 87)

Return the value of this object as iso8601 dateTime value

  • return: As a Unix timestamp
  • access: public
int getValue ()

Redefinition of:
Zend_XmlRpc_Value::getValue()
Return the value of this object, convert the XML-RPC native value into a PHP variable

Inherited Methods

Inherited From Zend_XmlRpc_Value_Scalar

 Zend_XmlRpc_Value_Scalar::_generateXml()

Inherited From Zend_XmlRpc_Value

 Zend_XmlRpc_Value::generateXml()
 Zend_XmlRpc_Value::getGenerator()
 Zend_XmlRpc_Value::getType()
 Zend_XmlRpc_Value::getValue()
 Zend_XmlRpc_Value::getXmlRpcValue()
 Zend_XmlRpc_Value::saveXml()
 Zend_XmlRpc_Value::setEncoding()
 Zend_XmlRpc_Value::setGenerator()
 Zend_XmlRpc_Value::_createSimpleXMLElement()
 Zend_XmlRpc_Value::_extractTypeAndValue()
 Zend_XmlRpc_Value::_phpVarToNativeXmlRpc()
 Zend_XmlRpc_Value::_setXML()
 Zend_XmlRpc_Value::_xmlStringToNativeXmlRpc()
Class Constants

Documentation generated on Mon, 21 Jun 2010 15:15:52 -0400 by phpDocumentor 1.4.3