From cf577d2adfdde6f1fd2e418a07c20cb6dbcb8e45 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Mon, 20 Oct 2008 10:30:08 +0000 Subject: [PATCH] * Added new examples for * assert_options * get_current_user * ini_restore * sys_get_temp_dir * sha1_file git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267550 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/info/functions/assert-options.xml | 51 ++++++++++++++++++- reference/info/functions/assert.xml | 11 +++- reference/info/functions/get-current-user.xml | 24 ++++++++- reference/info/functions/ini-restore.xml | 34 ++++++++++++- reference/info/functions/sys-get-temp-dir.xml | 28 +++++++++- reference/strings/functions/sha1-file.xml | 25 ++++++++- 6 files changed, 167 insertions(+), 6 deletions(-) diff --git a/reference/info/functions/assert-options.xml b/reference/info/functions/assert-options.xml index 10afcb0a1a..5acb94a5e4 100644 --- a/reference/info/functions/assert-options.xml +++ b/reference/info/functions/assert-options.xml @@ -1,5 +1,5 @@ - + assert_options @@ -97,6 +97,55 @@ + + &reftitle.examples; + + + <function>assert_options</function> example + + +]]> + + + + + + + &reftitle.seealso; + + + assert + + + + + assert @@ -128,6 +128,15 @@ assert('mysql_query("")'); + + &reftitle.seealso; + + + assert_options + + + + + get_current_user @@ -24,6 +24,28 @@ + + &reftitle.examples; + + + <function>get_current_user</function> example + + +]]> + + &example.outputs.similar; + + + + + + + &reftitle.seealso; diff --git a/reference/info/functions/ini-restore.xml b/reference/info/functions/ini-restore.xml index 2b71e7893e..df48d1c69d 100644 --- a/reference/info/functions/ini-restore.xml +++ b/reference/info/functions/ini-restore.xml @@ -1,5 +1,5 @@ - + ini_restore @@ -40,6 +40,38 @@ + + &reftitle.examples; + + + <function>ini_restore</function> example + + +]]> + + &example.outputs; + + + + + + + &reftitle.seealso; diff --git a/reference/info/functions/sys-get-temp-dir.xml b/reference/info/functions/sys-get-temp-dir.xml index a97ea636ec..fb078f8312 100644 --- a/reference/info/functions/sys-get-temp-dir.xml +++ b/reference/info/functions/sys-get-temp-dir.xml @@ -1,5 +1,5 @@ - + sys_get_temp_dir @@ -25,6 +25,32 @@ + + &reftitle.examples; + + + <function>sys_get_temp_dir</function> example + + +]]> + + &example.outputs.similar; + + + + + + + &reftitle.seealso; diff --git a/reference/strings/functions/sha1-file.xml b/reference/strings/functions/sha1-file.xml index 62422f6bb2..1219e6be9a 100644 --- a/reference/strings/functions/sha1-file.xml +++ b/reference/strings/functions/sha1-file.xml @@ -1,5 +1,5 @@ - + sha1_file @@ -51,6 +51,29 @@ + + &reftitle.examples; + + + <function>sha1_file</function> example + + +]]> + + + + &reftitle.changelog;