vrana Sun Mar 12 09:19:09 2006 UTC
Modified files: /phpdoc/en/reference/filter reference.xml Log: IDs are constants http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/reference.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/filter/reference.xml diff -u phpdoc/en/reference/filter/reference.xml:1.2 phpdoc/en/reference/filter/reference.xml:1.3 --- phpdoc/en/reference/filter/reference.xml:1.2 Sun Mar 12 01:36:27 2006 +++ phpdoc/en/reference/filter/reference.xml Sun Mar 12 09:19:09 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- Purpose: basic.vartype --> <!-- Membership: pecl --> <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. --> @@ -31,8 +31,8 @@ </thead> <tbody> <row> - <entry>FILTER_VALIDATE_INT</entry> - <entry>int</entry> + <entry><constant>FILTER_VALIDATE_INT</constant></entry> + <entry>"int"</entry> <entry> <parameter>min_range</parameter>, <parameter>max_range</parameter> @@ -44,8 +44,8 @@ <entry>Validates value as integer, optionally from the specified range.</entry> </row> <row> - <entry>FILTER_VALIDATE_BOOLEAN</entry> - <entry>boolean</entry> + <entry><constant>FILTER_VALIDATE_BOOLEAN</constant></entry> + <entry>"boolean"</entry> <entry></entry> <entry></entry> <entry> @@ -55,16 +55,16 @@ </entry> </row> <row> - <entry>FILTER_VALIDATE_FLOAT</entry> - <entry>float</entry> + <entry><constant>FILTER_VALIDATE_FLOAT</constant></entry> + <entry>"float"</entry> <entry></entry> <entry></entry> <entry>Validates value as float.</entry> </row> <row> - <entry>FILTER_VALIDATE_REGEXP</entry> - <entry>validate_regexp</entry> + <entry><constant>FILTER_VALIDATE_REGEXP</constant></entry> + <entry>"validate_regexp"</entry> <entry> <parameter>regexp</parameter> </entry> @@ -72,8 +72,8 @@ <entry>Validates value against regexp.</entry> </row> <row> - <entry>FILTER_VALIDATE_URL</entry> - <entry>validate_url</entry> + <entry><constant>FILTER_VALIDATE_URL</constant></entry> + <entry>"validate_url"</entry> <entry></entry> <entry> <constant>FILTER_FLAG_SCHEME_REQUIRED</constant>, @@ -84,15 +84,15 @@ <entry>Validates value as URL, optionally with required components.</entry> </row> <row> - <entry>FILTER_VALIDATE_EMAIL</entry> - <entry>validate_email</entry> + <entry><constant>FILTER_VALIDATE_EMAIL</constant></entry> + <entry>"validate_email"</entry> <entry></entry> <entry></entry> <entry>Validates value as e-mail.</entry> </row> <row> - <entry>FILTER_VALIDATE_IP</entry> - <entry>validate_ip</entry> + <entry><constant>FILTER_VALIDATE_IP</constant></entry> + <entry>"validate_ip"</entry> <entry></entry> <entry> <constant>FILTER_FLAG_IPV4</constant>, @@ -107,8 +107,8 @@ </row> <row> - <entry>FILTER_SANITIZE_STRING</entry> - <entry>string</entry> + <entry><constant>FILTER_SANITIZE_STRING</constant></entry> + <entry>"string"</entry> <entry></entry> <entry> <constant>FILTER_FLAG_NO_ENCODE_QUOTES</constant>, @@ -121,15 +121,15 @@ <entry>Strip tags, optionally strip or encode special characters.</entry> </row> <row> - <entry>FILTER_SANITIZE_STRIPPED</entry> - <entry>stripped</entry> + <entry><constant>FILTER_SANITIZE_STRIPPED</constant></entry> + <entry>"stripped"</entry> <entry></entry> <entry></entry> <entry>Alias of "string" filter.</entry> </row> <row> - <entry>FILTER_SANITIZE_ENCODED</entry> - <entry>encoded</entry> + <entry><constant>FILTER_SANITIZE_ENCODED</constant></entry> + <entry>"encoded"</entry> <entry></entry> <entry> <constant>FILTER_FLAG_STRIP_LOW</constant>, @@ -140,8 +140,8 @@ <entry>URL-encode string, optionally strip or encode special characters.</entry> </row> <row> - <entry>FILTER_SANITIZE_SPECIAL_CHARS</entry> - <entry>special_chars</entry> + <entry><constant>FILTER_SANITIZE_SPECIAL_CHARS</constant></entry> + <entry>"special_chars"</entry> <entry></entry> <entry> <constant>FILTER_FLAG_STRIP_LOW</constant>, @@ -155,8 +155,8 @@ </entry> </row> <row> - <entry>FILTER_UNSAFE_RAW</entry> - <entry>unsafe_raw</entry> + <entry><constant>FILTER_UNSAFE_RAW</constant></entry> + <entry>"unsafe_raw"</entry> <entry></entry> <entry> <constant>FILTER_FLAG_STRIP_LOW</constant>, @@ -168,8 +168,8 @@ <entry>Do nothing, optionally strip or encode special characters.</entry> </row> <row> - <entry>FILTER_SANITIZE_EMAIL</entry> - <entry>email</entry> + <entry><constant>FILTER_SANITIZE_EMAIL</constant></entry> + <entry>"email"</entry> <entry></entry> <entry></entry> <entry> @@ -178,8 +178,8 @@ </entry> </row> <row> - <entry>FILTER_SANITIZE_URL</entry> - <entry>url</entry> + <entry><constant>FILTER_SANITIZE_URL</constant></entry> + <entry>"url"</entry> <entry></entry> <entry></entry> <entry> @@ -188,8 +188,8 @@ </entry> </row> <row> - <entry>FILTER_SANITIZE_NUMBER_INT</entry> - <entry>number_int</entry> + <entry><constant>FILTER_SANITIZE_NUMBER_INT</constant></entry> + <entry>"number_int"</entry> <entry></entry> <entry></entry> <entry> @@ -197,8 +197,8 @@ </entry> </row> <row> - <entry>FILTER_SANITIZE_NUMBER_FLOAT</entry> - <entry>number_float</entry> + <entry><constant>FILTER_SANITIZE_NUMBER_FLOAT</constant></entry> + <entry>"number_float"</entry> <entry></entry> <entry></entry> <entry> @@ -207,16 +207,16 @@ </entry> </row> <row> - <entry>FILTER_SANITIZE_MAGIC_QUOTES</entry> - <entry>magic_quotes</entry> + <entry><constant>FILTER_SANITIZE_MAGIC_QUOTES</constant></entry> + <entry>"magic_quotes"</entry> <entry></entry> <entry></entry> <entry>Apply <function>addslashes</function>.</entry> </row> <row> - <entry>FILTER_CALLBACK</entry> - <entry>callback</entry> + <entry><constant>FILTER_CALLBACK</constant></entry> + <entry>"callback"</entry> <entry></entry> <entry><type>callback</type> function or method</entry> <entry>Call user-defined function to filter data.</entry>