cvs: phpdoc /en/reference/spl/splfileinfo getatime.xml getctime.xml getmtime.xml
| From: | Brett Bieber | Date: | Fri, 14 Nov 2008 20:20:41 +0000 |
| Subject: | cvs: phpdoc /en/reference/spl/splfileinfo getatime.xml getctime.xml getmtime.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2539@lists.php.net to get a copy of this message | ||
saltybeagle Fri Nov 14 20:20:41 2008 UTC
Modified files:
/phpdoc/en/reference/spl/splfileinfo getmtime.xml getctime.xml
getatime.xml
Log:
Make SplFileInfo::get*Time functions consistent.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl/splfileinfo/getmtime.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/spl/splfileinfo/getmtime.xml
diff -u phpdoc/en/reference/spl/splfileinfo/getmtime.xml:1.1
phpdoc/en/reference/spl/splfileinfo/getmtime.xml:1.2
--- phpdoc/en/reference/spl/splfileinfo/getmtime.xml:1.1 Fri Nov 14 18:38:21 2008
+++ phpdoc/en/reference/spl/splfileinfo/getmtime.xml Fri Nov 14 20:20:41 2008
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry xml:id="splfileinfo.getmtime" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SplFileInfo::getMTime</refname>
- <refpurpose>The getMTime purpose</refpurpose>
+ <refpurpose>Gets the last modified time</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>SplFileInfo::getMTime</methodname>
+ <modifier>public</modifier>
<type>int</type><methodname>SplFileInfo::getMTime</methodname>
<void />
</methodsynopsis>
<para>
- The method description goes here.
+ Returns the time when the contents of the file were changed. The time returned is a Unix
timestamp.
</para>
</refsect1>
@@ -26,29 +26,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Description...
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title><function>SplFileInfo::getMTime</function> example</title>
- <programlisting role="php">
-<![CDATA[
-<?php
-/* ... */
-?>
-]]>
- </programlisting>
- &example.outputs.similar;
- <screen>
-<![CDATA[
-...
-]]>
- </screen>
- </example>
+ Returns the last modified time for the file, in a Unix timestamp.
</para>
</refsect1>
@@ -56,7 +34,7 @@
&reftitle.seealso;
<para>
<simplelist>
- <member><methodname>Classname::Method</methodname></member>
+ <member><function>filemtime</function></member>
</simplelist>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl/splfileinfo/getctime.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/spl/splfileinfo/getctime.xml
diff -u phpdoc/en/reference/spl/splfileinfo/getctime.xml:1.2
phpdoc/en/reference/spl/splfileinfo/getctime.xml:1.3
--- phpdoc/en/reference/spl/splfileinfo/getctime.xml:1.2 Fri Nov 14 19:51:08 2008
+++ phpdoc/en/reference/spl/splfileinfo/getctime.xml Fri Nov 14 20:20:41 2008
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="splfileinfo.getctime" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SplFileInfo::getCTime</refname>
- <refpurpose>Gets the last change time</refpurpose>
+ <refpurpose>Gets the inode change time</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>SplFileInfo::getCTime</methodname>
+ <modifier>public</modifier>
<type>int</type><methodname>SplFileInfo::getCTime</methodname>
<void />
</methodsynopsis>
<para>
- 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.
</para>
</refsect1>
@@ -26,7 +26,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- The last change time, in a UNIX timestamp.
+ The last change time, in a Unix timestamp.
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl/splfileinfo/getatime.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/spl/splfileinfo/getatime.xml
diff -u phpdoc/en/reference/spl/splfileinfo/getatime.xml:1.1
phpdoc/en/reference/spl/splfileinfo/getatime.xml:1.2
--- phpdoc/en/reference/spl/splfileinfo/getatime.xml:1.1 Fri Nov 14 18:38:21 2008
+++ phpdoc/en/reference/spl/splfileinfo/getatime.xml Fri Nov 14 20:20:41 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry xml:id="splfileinfo.getatime" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>SplFileInfo::getATime</methodname>
+ <modifier>public</modifier>
<type>int</type><methodname>SplFileInfo::getATime</methodname>
<void />
</methodsynopsis>
<para>