From 6303ca4079a322c9f8e1b1ee7f2e83603821538b Mon Sep 17 00:00:00 2001 From: Brett Bieber Date: Fri, 14 Nov 2008 20:20:41 +0000 Subject: [PATCH] Make SplFileInfo::get*Time functions consistent. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269023 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/spl/splfileinfo/getatime.xml | 4 +-- reference/spl/splfileinfo/getctime.xml | 10 ++++---- reference/spl/splfileinfo/getmtime.xml | 34 +++++--------------------- 3 files changed, 13 insertions(+), 35 deletions(-) diff --git a/reference/spl/splfileinfo/getatime.xml b/reference/spl/splfileinfo/getatime.xml index 5215c313b9..757c588123 100644 --- a/reference/spl/splfileinfo/getatime.xml +++ b/reference/spl/splfileinfo/getatime.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ &reftitle.description; - public voidSplFileInfo::getATime + public intSplFileInfo::getATime diff --git a/reference/spl/splfileinfo/getctime.xml b/reference/spl/splfileinfo/getctime.xml index ab5037eacd..827588fab1 100644 --- a/reference/spl/splfileinfo/getctime.xml +++ b/reference/spl/splfileinfo/getctime.xml @@ -1,20 +1,20 @@ - + SplFileInfo::getCTime - Gets the last change time + Gets the inode change time &reftitle.description; - public voidSplFileInfo::getCTime + public intSplFileInfo::getCTime - Returns the time the file was last changed. The time returned is a UNIX timestamp. + Returns the inode change time for the file. The time returned is a Unix timestamp. @@ -26,7 +26,7 @@ &reftitle.returnvalues; - The last change time, in a UNIX timestamp. + The last change time, in a Unix timestamp. diff --git a/reference/spl/splfileinfo/getmtime.xml b/reference/spl/splfileinfo/getmtime.xml index 539ed3058d..9c3f7ffb59 100644 --- a/reference/spl/splfileinfo/getmtime.xml +++ b/reference/spl/splfileinfo/getmtime.xml @@ -1,20 +1,20 @@ - + SplFileInfo::getMTime - The getMTime purpose + Gets the last modified time &reftitle.description; - public voidSplFileInfo::getMTime + public intSplFileInfo::getMTime - The method description goes here. + Returns the time when the contents of the file were changed. The time returned is a Unix timestamp. @@ -26,29 +26,7 @@ &reftitle.returnvalues; - Description... - - - - - &reftitle.examples; - - - <function>SplFileInfo::getMTime</function> example - - -]]> - - &example.outputs.similar; - - - - + Returns the last modified time for the file, in a Unix timestamp. @@ -56,7 +34,7 @@ &reftitle.seealso; - Classname::Method + filemtime