[PHPDOC] cvs: phpdoc /de/functions/ var.xml From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 05/25/00

hholzgra Thu May 25 18:24:42 2000 EDT

  Modified files:
    /phpdoc/de/functions var.xml
  Log:
  Funktion call_user_func() hinzugefügt und übersetzt
  
  
Index: phpdoc/de/functions/var.xml
diff -u phpdoc/de/functions/var.xml:1.11 phpdoc/de/functions/var.xml:1.12
--- phpdoc/de/functions/var.xml:1.11 Fri Apr 14 01:43:05 2000
+++ phpdoc/de/functions/var.xml Thu May 25 18:24:42 2000
@@ -2,6 +2,41 @@
   <title>Variablen-Functions</title>
   <titleabbrev>Variablen</titleabbrev>
 
+ <refentry id="function.call-user-func">
+ <refnamediv>
+ <refname>call_user_func</refname>
+ <refpurpose>Aufruf einer benutzerdefinierten Funktion</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>mixed
+ <function>call_user_func</function>
+ </funcdef>
+ <paramdef>string
+ <parameter>function_name</parameter>
+ </paramdef>
+ <paramdef>
+ mixed
+ <parameter><optional>parameters*</optional></parameter>
+ </paramdef>
+ </funcsynopsis>
+ <para>
+ Ruft die Funktion mit Namen <parameter>function_name</parameter> mit den Parametern
+ <parameter>parameters</parameter> auf.
+ <informalexample>
+ <programlisting role="php">
+function friseur ($type) {
+ print "Sie möchten einen $type-Kopf, kein Problem&lt;br>";
+}
+call_user_func('friseur', "Bubi");
+call_user_func('friseur', "Pilz");
+ </programlisting>
+ </informalexample>
+ </para>
+ </refsect1>
+ </refentry>
+
   <refentry id="function.doubleval">
    <refnamediv>
     <refname>doubleval</refname>