From 013b8d588c701ac1d2d1b05a62ee8550cf24efb6 Mon Sep 17 00:00:00 2001 From: Daniel Convissor Date: Sat, 1 May 2010 04:17:40 +0000 Subject: [PATCH] Make datetimezone_open an alias to construct, just like the rest of the functions. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298828 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/datetimezone/construct.xml | 7 ++++ .../datetime/functions/timezone-open.xml | 36 ++----------------- 2 files changed, 10 insertions(+), 33 deletions(-) diff --git a/reference/datetime/datetimezone/construct.xml b/reference/datetime/datetimezone/construct.xml index 7c2c8b4436..b82b863509 100644 --- a/reference/datetime/datetimezone/construct.xml +++ b/reference/datetime/datetimezone/construct.xml @@ -9,10 +9,16 @@ &reftitle.description; + &style.oop; public DateTimeZone::__construct stringtimezone + &style.procedural; + + DateTimeZonetimezone_open + stringtimezone + Creates new DateTimeZone object. @@ -38,6 +44,7 @@ &reftitle.returnvalues; Returns DateTimeZone on success. + &style.procedural; returns &return.falseforfailure;. diff --git a/reference/datetime/functions/timezone-open.xml b/reference/datetime/functions/timezone-open.xml index fc4fc897bd..7b6b2197f0 100644 --- a/reference/datetime/functions/timezone-open.xml +++ b/reference/datetime/functions/timezone-open.xml @@ -3,42 +3,12 @@ timezone_open - Returns new DateTimeZone object + &Alias; DateTimeZone::__construct + &reftitle.description; - - DateTimeZonetimezone_open - stringtimezone - - - DateTimeZoneDateTimeZone::__construct - stringtimezone - - - - - &reftitle.parameters; - - - - timezone - - - Time zone identifier as full name (e.g. Europe/Prague) or abbreviation - (e.g. CET). - - - - - - - - - &reftitle.returnvalues; - - Returns DateTimeZone object on success &return.falseforfailure;. - + &info.function.alias; DateTimeZone::__construct