On this page
IXR_Date::__construct( $time )
PHP5 constructor.
Source
File: wp-includes/IXR/class-IXR-date.php. View all references
function __construct( $time )
{
// $time can be a PHP timestamp or an ISO one
if (is_numeric($time)) {
$this->parseTimestamp($time);
} else {
$this->parseIso($time);
}
}
Related
Uses
| Uses | Description |
|---|---|
| IXR_Date::parseIso() wp-includes/IXR/class-IXR-date.php | |
| IXR_Date::parseTimestamp() wp-includes/IXR/class-IXR-date.php |
Used By
| Used By | Description |
|---|---|
| IXR_IntrospectionServer::methodSignature() wp-includes/IXR/class-IXR-introspectionserver.php | |
| IXR_Message::tag_close() wp-includes/IXR/class-IXR-message.php | |
| IXR_Date::IXR_Date() wp-includes/IXR/class-IXR-date.php | PHP4 constructor. |
| wp_xmlrpc_server::_convert_date() wp-includes/class-wp-xmlrpc-server.php | Convert a WordPress date string to an IXR_Date object. |
| wp_xmlrpc_server::_convert_date_gmt() wp-includes/class-wp-xmlrpc-server.php | Convert a WordPress GMT date string to an IXR_Date object. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/ixr_date/__construct