From 5314e61574e6284fa50fa1489c1cb069c2886154 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Sun, 1 May 2005 06:24:46 +0000 Subject: [PATCH] Initial Revision git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185551 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../runkit/functions/runkit-function-add.xml | 119 +++++++++++++++++ .../runkit/functions/runkit-function-copy.xml | 111 ++++++++++++++++ .../functions/runkit-function-redefine.xml | 120 ++++++++++++++++++ .../functions/runkit-function-remove.xml | 74 +++++++++++ .../functions/runkit-function-rename.xml | 83 ++++++++++++ 5 files changed, 507 insertions(+) create mode 100644 reference/runkit/functions/runkit-function-add.xml create mode 100644 reference/runkit/functions/runkit-function-copy.xml create mode 100644 reference/runkit/functions/runkit-function-redefine.xml create mode 100644 reference/runkit/functions/runkit-function-remove.xml create mode 100644 reference/runkit/functions/runkit-function-rename.xml diff --git a/reference/runkit/functions/runkit-function-add.xml b/reference/runkit/functions/runkit-function-add.xml new file mode 100644 index 0000000000..03c0d164b3 --- /dev/null +++ b/reference/runkit/functions/runkit-function-add.xml @@ -0,0 +1,119 @@ + + + + + + runkit_function_add + + Add a new function, similar to create_function + + + + + &reftitle.description; + + boolrunkit_function_add + stringfuncname + stringarglist + stringcode + + + + + &reftitle.parameters; + + + + funcname + + + Name of function to be created + + + + + arglist + + + Coma separated argument list + + + + + code + + + Code making up the function + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.examples; + + + A <function>runkit_function_add</function> example + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + create_function + runkit_function_redefine + runkit_function_copy + runkit_function_rename + runkit_function_remove + runkit_method_add + + + + + + + diff --git a/reference/runkit/functions/runkit-function-copy.xml b/reference/runkit/functions/runkit-function-copy.xml new file mode 100644 index 0000000000..e07f8c4a5c --- /dev/null +++ b/reference/runkit/functions/runkit-function-copy.xml @@ -0,0 +1,111 @@ + + + + + + runkit_function_copy + + Copy a function to a new function name + + + + &reftitle.description; + + boolrunkit_function_copy + stringfuncname + stringtargetname + + + + + &reftitle.parameters; + + + + funcname + + + Name of existing function + + + + + targetname + + + Name of new function to copy definition to + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.examples; + + + A <function>runkit_function_copy</function> example + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + runkit_function_add + runkit_function_redefine + runkit_function_rename + runkit_function_remove + + + + + + + diff --git a/reference/runkit/functions/runkit-function-redefine.xml b/reference/runkit/functions/runkit-function-redefine.xml new file mode 100644 index 0000000000..b22daccac1 --- /dev/null +++ b/reference/runkit/functions/runkit-function-redefine.xml @@ -0,0 +1,120 @@ + + + + + + runkit_function_redefine + + Replace a function definition with a new implementation + + + + &reftitle.description; + + boolrunkit_function_redefine + stringfuncname + stringarglist + stringcode + + + + + &reftitle.parameters; + + + + funcname + + + Name of function to redefine + + + + + arglist + + + New list of arguments to be accepted by function + + + + + code + + + New code implementation + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.examples; + + + A <function>runkit_function_redefine</function> example + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + runkit_function_add + runkit_function_copy + runkit_function_rename + runkit_function_remove + + + + + + + diff --git a/reference/runkit/functions/runkit-function-remove.xml b/reference/runkit/functions/runkit-function-remove.xml new file mode 100644 index 0000000000..eb4698bee6 --- /dev/null +++ b/reference/runkit/functions/runkit-function-remove.xml @@ -0,0 +1,74 @@ + + + + + + runkit_function_remove + + Remove a function definition + + + + &reftitle.description; + + boolrunkit_function_remove + stringfuncname + + + + + &reftitle.parameters; + + + + funcname + + + Name of function to be deleted + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.seealso; + + + runkit_function_add + runkit_function_copy + runkit_function_redefine + runkit_function_rename + + + + + + + diff --git a/reference/runkit/functions/runkit-function-rename.xml b/reference/runkit/functions/runkit-function-rename.xml new file mode 100644 index 0000000000..e9caa4db16 --- /dev/null +++ b/reference/runkit/functions/runkit-function-rename.xml @@ -0,0 +1,83 @@ + + + + + + runkit_function_rename + + Change a function's name + + + + &reftitle.description; + + boolrunkit_function_rename + stringfuncname + stringnewname + + + + + &reftitle.parameters; + + + + funcname + + + Current function name + + + + + newname + + + New function name + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.seealso; + + + runkit_function_add + runkit_function_copy + runkit_function_redefine + runkit_function_remove + + + + + + +