XmlRpc/Value/DateTime.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_XmlRpc
- Subpackage
- Value
- Version
- $Id$
\Zend_XmlRpc_Value_DateTime
Package: Zend_XmlRpc\Value
Represent a native XML-RPC value entity, used as parameters for the methods
called by the Zend_XmlRpc_Client object and as the return value for those calls.
This object as a very important static function Zend_XmlRpc_Value::getXmlRpcValue, this
function acts likes a factory for the Zend_XmlRpc_Value objects
Using this function, users/Zend_XmlRpc_Client object can create the Zend_XmlRpc_Value objects
from PHP variables, XML string or by specifing the exact XML-RPC natvie type
- Parent(s)
- \Zend_XmlRpc_Value_Scalar < \Zend_XmlRpc_Value
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
string $_isoFormatString = 'yyyyMMddTHH:mm:ss'
ISO compatible format string for XML/RPC datetime values
Default value
'yyyyMMddTHH:mm:ss'
Details- Type
- string
Methods
__construct(mixed $value) : void
Set the value of a dateTime.iso8601 native type
The value is in iso8601 format, minus any timezone information or dashes
ParametersName | Type | Description |
---|---|---|
$value | mixed | Integer of the unix timestamp or any string that can be parsed
|