From 79fad40345ea119a3e08c7b3f182292d26319c89 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Sat, 15 Dec 2001 14:47:51 +0000 Subject: [PATCH] added skeletons for missing functions git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65169 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ircg.xml | 111 ++++++++++++++++++++++++++++++++++++++++++++- functions/math.xml | 73 ++++++++++++++++++++++++++++- functions/ming.xml | 86 ++++++++++++++++++++++++++++++++++- 3 files changed, 266 insertions(+), 4 deletions(-) diff --git a/functions/ircg.xml b/functions/ircg.xml index 863e419999..f21eb238db 100644 --- a/functions/ircg.xml +++ b/functions/ircg.xml @@ -1,5 +1,5 @@ - + IRC Gateway Functions IRC Gateway @@ -635,6 +635,115 @@ if (!ircg_join ($id, "#php")) { + + + ircg_set_on_die + + Set hostaction to be execute when connection dies */ + + + + Description + + + bool ircg_set_on_die + int connection + string host + int port + string data + + + + &warn.undocumented.func; + + + + + + + ircg_set_file + + Set logfile for connection + + + + Description + + + bool ircg_set_file + int connection + string path + + + + &warn.undocumented.func; + + + + + + + ircg_get_username + + Get username for connection + + + + Description + + + string ircg_get_username + int connection + + + + &warn.undocumented.func; + + + + + + + ircg_nickname_escape + + Encode special characters in nickname to be IRC-compliant + + + + Description + + + string ircg_nickname_escape + string nick + + + + &warn.undocumented.func; + + + + + + + ircg_nickname_escape + + Decode encoded nickname + + + + Description + + + string ircg_nickname_escape + string nick + + + + &warn.undocumented.func; + + + + + Mathematical Functions Math @@ -585,6 +585,29 @@ $binary = base_convert ($hexadecimal, 16, 2); + + + expm1 + + Returns exp(number) - 1, computed in a way that accurate even + when the value of number is close to zero + + + + Description + + + float expm1 + float number + + + &warn.experimental.func; + + &warn.undocumented.func; + + + + floor @@ -690,6 +713,29 @@ var_dump(hexdec("a0")); + + + hypot + + Returns sqrt( num1*num1 + num2*num2) + + + + Description + + + float hypot + float num1 + float num2 + + + &warn.experimental.func; + + &warn.undocumented.func; + + + + lcg_value @@ -750,6 +796,29 @@ var_dump(hexdec("a0")); + + + log1p + + Returns log(1 + number), computed in a way that accurate even when the val +ue of number is close to zero + + + + Description + + + float log1p + float number + + + &warn.experimental.func; + + &warn.undocumented.func; + + + + max @@ -1129,7 +1198,7 @@ echo pi(); Some examples of <function>pow</function> - + - + Ming functions for Flash Ming (flash) @@ -167,6 +167,90 @@ + + + ming_setcubicthreshold + + Set cubic threshold (?) + + + + Description + + + void ming_setcubicthreshold + int threshold + + + + &warn.undocumented.func; + + + + + + + ming_setscale + + Set scale (?) + + + + Description + + + void ming_setscale + int scale + + + + &warn.undocumented.func; + + + + + + + ming_useswfversion + + Use SWF version (?) + + + + Description + + + void ming_useswfversion + int version + + + + &warn.undocumented.func; + + + + + + + swfbutton_keypress + + Returns the action flag for keyPress(char) + + + + Description + + + int swfbutton_keypress + string str + + + + &warn.undocumented.func; + + + +