reference/classobj/functions/interface-exists.xml
42bd1bfed391b287e55e47fed1b8f8d22a033ee0
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>interface_exists</methodname>
12
-
<methodparam><type>string</type><parameter>interface_name</parameter></methodparam>
12
+
<methodparam><type>string</type><parameter>interface</parameter></methodparam>
13
13
<methodparam choice="opt"><type>bool</type><parameter>autoload</parameter><initializer>&true;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -21,7 +21,7 @@
21
21
<para>
22
22
<variablelist>
23
23
<varlistentry>
24
-
<term><parameter>interface_name</parameter></term>
24
+
<term><parameter>interface</parameter></term>
25
25
<listitem>
26
26
<para>
27
27
The interface name
...
...
@@ -32,7 +32,8 @@
32
32
<term><parameter>autoload</parameter></term>
33
33
<listitem>
34
34
<para>
35
-
Whether to call &link.autoload; or not by default.
35
+
Whether to <link linkend="language.oop5.autoload">autoload</link>
36
+
if not already loaded.
36
37
</para>
37
38
</listitem>
38
39
</varlistentry>
...
...
@@ -43,7 +44,7 @@
43
44
&reftitle.returnvalues;
44
45
<para>
45
46
Returns &true; if the interface given by
46
-
<parameter>interface_name</parameter> has been defined, &false; otherwise.
47
+
<parameter>interface</parameter> has been defined, &false; otherwise.
47
48
</para>
48
49
</refsect1>
49
50
<refsect1 role="examples">
...
...
@@ -75,11 +76,11 @@ if (interface_exists('MyInterface')) {
75
76
<member><function>get_declared_interfaces</function></member>
76
77
<member><function>class_implements</function></member>
77
78
<member><function>class_exists</function></member>
79
+
<member><function>enum_exists</function></member>
78
80
</simplelist>
79
81
</para>
80
82
</refsect1>
81
83
</refentry>
82
-

83
84
<!-- Keep this comment at the end of the file
84
85
Local variables:
85
86
mode: sgml
86
87