reference/spl/splfileinfo/getctime.xml
84d643420e0a5b43f34238aff8bde6dce168825b
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="splfileinfo.getctime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>SplFileInfo::getCTime</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>int</type><methodname>SplFileInfo::getCTime</methodname>
14
-
<void />
11
+
<methodsynopsis role="SplFileInfo">
12
+
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>SplFileInfo::getCTime</methodname>
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
16
Returns the inode change time for the file. The time returned is a Unix timestamp.
...
...
@@ -26,14 +25,14 @@
26
25
<refsect1 role="returnvalues">
27
26
&reftitle.returnvalues;
28
27
<para>
29
-
The last change time, in a Unix timestamp.
28
+
The last change time, in a Unix timestamp on success, or &false; on failure.
30
29
</para>
31
30
</refsect1>
32
31

33
32
<refsect1 role="errors">
34
33
&reftitle.errors;
35
34
<para>
36
-
Throws <classname>RunTimeException</classname> on error.
35
+
Throws <classname>RuntimeException</classname> on error.
37
36
</para>
38
37
</refsect1>
39
38

...
...
@@ -41,11 +40,11 @@
41
40
&reftitle.examples;
42
41
<para>
43
42
<example>
44
-
<title><function>SplFileInfo::getCTime</function> example</title>
43
+
<title><methodname>SplFileInfo::getCTime</methodname> example</title>
45
44
<programlisting role="php">
46
45
<![CDATA[
47
46
<?php
48
-
$info = new SplFileInfo(__FILE__);
47
+
$info = new SplFileInfo('example.jpg');
49
48
echo 'Last changed at ' . date('g:i a', $info->getCTime());
50
49
?>
51
50
]]>
...
...
@@ -65,12 +64,13 @@ Last changed at 1:49 pm
65
64
<para>
66
65
<simplelist>
67
66
<member><function>filectime</function></member>
67
+
<member><methodname>SplFileInfo::getATime</methodname></member>
68
+
<member><methodname>SplFileInfo::getMTime</methodname></member>
68
69
</simplelist>
69
70
</para>
70
71
</refsect1>
71
72

72
73
</refentry>
73
-

74
74
<!-- Keep this comment at the end of the file
75
75
Local variables:
76
76
mode: sgml
77
77