From: khartlage Date: Tue, 4 Mar 2003 21:11:52 +0000 (+0000) Subject: added docs for some functions X-Git-Url: http://secure.phpeclipse.com added docs for some functions --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml index efadf8f..342cf52 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml @@ -8,22 +8,38 @@ Loads a COM module Return the absolute value of the number - Return the arc cosine of the number in radians + Return the arc cosine of the arg in radians + Returns the inverse hyperbolic cosine of arg - + +Returns a string with backslashes before characters that are listed in charlist parameter. +It escapes \n, \r etc. in C-like style, characters with ASCII code lower than 32 and +higher than 126 are converted to octal representation. - - + +Returns a string with backslashes before characters that need to be quoted in database queries etc. +These characters are single quote ('), double quote ("), backslash (\) and NUL (the NULL byte). + +Aggregates methods and properties defined in a class to an existing object. +Methods and properties with names starting with an underscore character (_) are considered private +to the aggregated class and are not used, constructors are also excluded from the aggregation procedure. - - - + +apache_child_terminate() will register the Apache process executing the current PHP request for termination +once execution of PHP code it is completed. It may be used to terminate a process after a script with +high memory consumption has been run as memory will usually only be freed internally but not given +back to the operating system. + + +This performs a partial request for a URI. It goes just far enough to obtain all the important information +about the given resource and returns this information in a class. + @@ -223,7 +239,7 @@ - string create_function(string args, string code) + Creates an anonymous function, and returns its name (funny, eh?) @@ -315,13 +331,15 @@ - bool define(string constant_name, mixed value, case_sensitive=true) + Define a new constant - bool defined(string constant_name) + Check whether a constant exists - class dir(string directory) + +Directory class with properties, handle and class and methods read, rewind and close. + @@ -1368,12 +1386,34 @@ - + +mysql_query() sends a query to the currently active database on the server +that's associated with the specified link identifier. +If link_identifier isn't specified, the last opened link is assumed. +If no link is open, the function tries to establish a link as if mysql_connect() +was called with no arguments, and use it. + +The optional result_mode parameter can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. +It defaults to MYSQL_STORE_RESULT, so the result is buffered. +See also mysql_unbuffered_query() for the counterpart of this behaviour. + - + +mysql_unbuffered_query() sends a SQL query query to MySQL, without fetching and buffering the +result rows automatically, as mysql_query() does. +On the one hand, this saves a considerable amount of memory with SQL queries +that produce large result sets. On the other hand, you can start working on +the result set immediately after the first row has been retrieved: you don't +have to wait until the complete SQL query has been performed. When using multiple DB-connects, +you have to specify the optional parameter link_identifier. + +The optional result_mode parameter can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. +It defaults to MYSQL_USE_RESULT, so the result is not buffered. +See also mysql_query() for the counterpart of this behaviour. + @@ -2052,7 +2092,7 @@ - string substr(string str, int start [, int length]) + Returns part of a string