API Documentation

Zend/XmlRpc/Value/DateTime.php

Show: inherited
Table of Contents

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_XmlRpc  
Subpackage
Value  
Version
$Id: DateTime.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_XmlRpc_Value_DateTime

Package: Zend\XmlRpc\Value

Parent(s)
\Zend_XmlRpc_Value_Scalar < \Zend_XmlRpc_Value
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring  $_isoFormatString= ''yyyyMMddTHH:mm:ss''

ISO compatible format string for XML/RPC datetime values

Default value'yyyyMMddTHH:mm:ss'Details
Type
string
Propertyprotectedstring  $_phpFormatString= ''Ymd\\TH:i:s''

PHP compatible format string for XML/RPC datetime values

Default value'Ymd\\TH:i:s'Details
Type
string

Methods

methodpublic__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

Parameters
Name Type Description
$value mixed

Integer of the unix timestamp or any string that can be parsed to a unix timestamp using the PHP strtotime() function

methodpublicgetValue( ) : int

Return the value of this object as iso8601 dateTime value

Returns
Type Description
int As a Unix timestamp
Documentation was generated by DocBlox 0.15.1.