From ef509edbd73ea8f630c1e8f37dbf2d04d8c469e9 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Wed, 4 Jul 2018 21:55:48 +0000 Subject: [PATCH] Document uopz_get_static() and uopz_set_static() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345273 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/uopz/functions/uopz-get-static.xml | 110 +++++++++++++++++ reference/uopz/functions/uopz_set_static.xml | 119 +++++++++++++++++++ reference/uopz/versions.xml | 2 + 3 files changed, 231 insertions(+) create mode 100644 reference/uopz/functions/uopz-get-static.xml create mode 100644 reference/uopz/functions/uopz_set_static.xml diff --git a/reference/uopz/functions/uopz-get-static.xml b/reference/uopz/functions/uopz-get-static.xml new file mode 100644 index 0000000000..a15ff96484 --- /dev/null +++ b/reference/uopz/functions/uopz-get-static.xml @@ -0,0 +1,110 @@ + + + + + + uopz_get_static + Gets the static variables from function or method scope + + + + &reftitle.description; + + arrayuopz_get_static + stringclass + stringfunction + + + arrayuopz_get_static + stringfunction + + + Gets the static variables from function or method scope. + + + + + &reftitle.parameters; + + + class + + + The name of the class. + + + + + function + + + The name of the function or method. + + + + + + + + &reftitle.returnvalues; + + Returns an associative array of variable names mapped to their + current values on success, or &null; if the function or method does not exist. + + + + + &reftitle.examples; + + Basic <function>uopz_get_static</function> Usage + + +]]> + + &example.outputs; + + + string(3) "baz" +} +]]> + + + + + + &reftitle.seealso; + + uopz_set_static + + + + + + diff --git a/reference/uopz/functions/uopz_set_static.xml b/reference/uopz/functions/uopz_set_static.xml new file mode 100644 index 0000000000..52b09fab9f --- /dev/null +++ b/reference/uopz/functions/uopz_set_static.xml @@ -0,0 +1,119 @@ + + + + + + uopz_set_static + Sets the static variables in function or method scope + + + + &reftitle.description; + + voiduopz_set_static + stringfunction + arraystatic + + + voiduopz_set_static + stringclass + stringfunction + arraystatic + + + Sets the static variables in function or method scope. + + + + + &reftitle.parameters; + + + class + + + The name of the class. + + + + + function + + + The name of the function or method. + + + + + static + + + The associative array of variable names mapped to their + values. + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.examples; + + Basic <function>uopz_set_static</function> Usage + + 'qux']); +foo(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + uopz_get_static + + + + + + diff --git a/reference/uopz/versions.xml b/reference/uopz/versions.xml index f69fc4a5f5..cf2fbec9fe 100644 --- a/reference/uopz/versions.xml +++ b/reference/uopz/versions.xml @@ -27,6 +27,8 @@ + +