From 54ba1998b0608bca4b9ed34b7e957eceab6099b6 Mon Sep 17 00:00:00 2001 From: Sean Coates Date: Fri, 3 Sep 2004 15:51:43 +0000 Subject: [PATCH] doc classkit_import() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167935 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../classkit/functions/classkit-import.xml | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 reference/classkit/functions/classkit-import.xml diff --git a/reference/classkit/functions/classkit-import.xml b/reference/classkit/functions/classkit-import.xml new file mode 100644 index 0000000000..bdfc8733c9 --- /dev/null +++ b/reference/classkit/functions/classkit-import.xml @@ -0,0 +1,121 @@ + + + + + classkit_import + Import new class method definitions from a file + + + &reftitle.description; + + arrayclasskit_import + stringfilename + + ¬e.classkit.selfmanipulation; + &warn.experimental.func; + + + &reftitle.parameters; + + + + filename + + + The filename of the class method definitions to import + + + + + + + + &reftitle.returnvalues; + + Associative array of imported methods + + + + + &reftitle.examples; + + + <function>classkit_import</function> example + + +]]> + + +foo(); + +// import replacement method +classkit_import('newclass.php'); + +// output imported +echo $e->foo(); + +?> +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + classkit_method_add + classkit_method_copy + + + + + +