IXR_Date::__constructpublicWP 1.0

PHP5 constructor.

Method of the class: IXR_Date{}

No Hooks.

Returns

null. Nothing (null).

Usage

$IXR_Date = new IXR_Date();
$IXR_Date->__construct( $time );
$time(required)
.

IXR_Date::__construct() code WP 7.0

function __construct( $time )
{
    // $time can be a PHP timestamp or an ISO one
    if (is_numeric($time)) {
        $this->parseTimestamp($time);
    } else {
        $this->parseIso($time);
    }
}