reference/event/eventbase/getmethod.xml
e26545dcabdf763f6b3b9f792524b6cf16d99457
...
...
@@ -11,29 +11,13 @@
11
11
<modifier>public</modifier>
12
12
<type>string</type>
13
13
<methodname>EventBase::getMethod</methodname>
14
-
<methodparam choice="opt">
15
-
<type>EventConfig</type>
16
-
<parameter>cfg</parameter>
17
-
</methodparam>
14
+
<void />
18
15
</methodsynopsis>
19
16
<para></para>
20
17
</refsect1>
21
18
<refsect1 role="parameters">
22
19
&reftitle.parameters;
23
-
<variablelist>
24
-
<varlistentry>
25
-
<term>
26
-
<parameter>cfg</parameter>
27
-
</term>
28
-
<listitem>
29
-
<para>
30
-
Optional
31
-
<classname>EventConfig</classname>
32
-
object.
33
-
</para>
34
-
</listitem>
35
-
</varlistentry>
36
-
</variablelist>
20
+
&no.function.parameters;
37
21
</refsect1>
38
22
<refsect1 role="returnvalues">
39
23
&reftitle.returnvalues;
...
...
@@ -51,7 +35,7 @@
51
35
<?php
52
36
$cfg = new EventConfig();
53
37
if ($cfg->avoidMethod("select")) {
54
-
echo "`select' method avoided\n";
38
+
echo "'select' method avoided\n";
55
39
}
56
40

57
41
// Create event_base associated with the config
58
42