cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml ctype-alpha.xml ctype-cntrl.xml ctype-digit.xml ctype-graph.xml ctype-lower.xml
ctype-print.xml ctype-punct.xml ctype-space.xml ctype-upper.xml ctype-xdigit.xml
| From: | Kenneth Schwartz | Date: | Mon, 07 Mar 2005 20:55:40 +0000 |
| Subject: | cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml ctype-alpha.xml ctype-cntrl.xml ctype-digit.xml ctype-graph.xml ctype-lower.xml ctype-print.xml ctype-punct.xml ctype-space.xml ctype-upper.xml ctype-xdigit.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969366882@lists.php.net to get a copy of this message | ||
irchtml Mon Mar 7 15:55:40 2005 EDT
Modified files:
/phpdoc/en/reference/ctype/functions ctype-alnum.xml
ctype-alpha.xml
ctype-cntrl.xml
ctype-digit.xml
ctype-graph.xml
ctype-lower.xml
ctype-print.xml
ctype-punct.xml
ctype-space.xml
ctype-upper.xml
ctype-xdigit.xml
Log:
switch to new structure
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Mon Mar 7 15:55:39 2005 @@ -1,23 +1,53 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-alnum"> <refnamediv> <refname>ctype_alnum</refname> <refpurpose>Check for alphanumeric character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_alnum</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are alphanumeric. In the standard + <literal>C</literal> locale letters are just <literal>[A-Za-z]</literal> + and the function is equivalent to + <literal>preg_match('/^[a-z0-9]*$/i', $text)</literal>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is either - a letter or a digit, &false; otherwise. In the standard <literal>C</literal> - locale letters are just <literal>[A-Za-z]</literal> and the function is - equivalent to <literal>preg_match('/^[a-z0-9]*$/i', $text)</literal>. + a letter or a digit, &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_alnum</function> example (using the default locale)</title> @@ -44,9 +74,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alpha</function>, <function>ctype_digit</function>, - and <function>setlocale</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_digit</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alpha.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alpha.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-alpha.xml Mon Mar 7 15:55:39 2005 @@ -1,26 +1,55 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-alpha"> <refnamediv> <refname>ctype_alpha</refname> <refpurpose>Check for alphabetic character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_alpha</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> - Returns &true; if every character in <parameter>text</parameter> is - a letter from the current locale, &false; otherwise. + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are alphabetic. In the standard <literal>C</literal> locale letters are just <literal>[A-Za-z]</literal> and <function>ctype_alpha</function> is equivalent to <literal>(ctype_upper($text) || ctype_lower($text))</literal> if $text is just a single character, but other languages have letters that are considered neither upper nor lower case. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a letter from the current locale, &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_alpha</function> example (using the default locale)</title> @@ -47,10 +76,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_upper</function>, - <function>ctype_lower</function>, and - <function>setlocale</function>. + <simplelist> + <member><function>ctype_upper</function></member> + <member><function>ctype_lower</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-cntrl.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-cntrl.xml diff -u phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-cntrl.xml Mon Mar 7 15:55:39 2005 @@ -1,22 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-cntrl"> <refnamediv> <refname>ctype_cntrl</refname> <refpurpose>Check for control character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_cntrl</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> - Returns &true; if every character in <parameter>text</parameter> has - a special control function, &false; otherwise. Control characters are - e.g. line feed, tab, esc. + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are control characters. + Control characters are e.g. line feed, tab, esc. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a letter from the current locale, &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_cntrl</function> example</title> @@ -44,6 +73,15 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ctype_print</function></member> + </simplelist> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-digit.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-digit.xml diff -u phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-digit.xml Mon Mar 7 15:55:39 2005 @@ -1,21 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-digit"> <refnamediv> <refname>ctype_digit</refname> <refpurpose>Check for numeric character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_digit</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are numerical. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is a decimal digit, &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_digit</function> example</title> @@ -43,8 +72,15 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alnum</function> and <function>ctype_xdigit</function>. + <simplelist> + <member><function>ctype_alnum</function></member> + <member><function>ctype_xdigit</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-graph.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-graph.xml diff -u phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-graph.xml Mon Mar 7 15:55:39 2005 @@ -1,22 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-graph"> <refnamediv> <refname>ctype_graph</refname> <refpurpose>Check for any printable character(s) except space</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_graph</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, creates visible output. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is printable and actually creates visible output (no white space), &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_graph</function> example</title> @@ -44,9 +73,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alnum</function>, <function>ctype_print</function>, - and <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_alnum</function></member> + <member><function>ctype_print</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-lower.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-lower.xml diff -u phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-lower.xml Mon Mar 7 15:55:39 2005 @@ -1,21 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-lower"> <refnamediv> <refname>ctype_lower</refname> <refpurpose>Check for lowercase character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_lower</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are lowercase letters. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is a lowercase letter in the current locale. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_lower</function> example (using the default locale)</title> @@ -43,9 +72,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alpha</function>, <function>ctype_upper</function>, - and <function>setlocale</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_upper</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-print.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-print.xml diff -u phpdoc/en/reference/ctype/functions/ctype-print.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-print.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-print.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-print.xml Mon Mar 7 15:55:39 2005 @@ -1,23 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-print"> <refnamediv> <refname>ctype_print</refname> <refpurpose>Check for printable character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_print</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are printable. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> will actually create output (including blanks). Returns &false; if <parameter>text</parameter> contains control characters or characters that do not have any output or control function at all. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_print</function> example</title> @@ -45,9 +74,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_cntrl</function>, <function>ctype_graph</function>, - and <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-punct.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-punct.xml diff -u phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-punct.xml Mon Mar 7 15:55:39 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-punct"> <refnamediv> @@ -9,16 +9,45 @@ alphanumeric character </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_punct</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are punctuation character. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is printable, but neither letter, digit or blank, &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_punct</function> example</title> @@ -46,8 +75,15 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_cntrl</function> and <function>ctype_graph</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-space.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-space.xml diff -u phpdoc/en/reference/ctype/functions/ctype-space.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-space.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-space.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-space.xml Mon Mar 7 15:55:39 2005 @@ -1,23 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-space"> <refnamediv> <refname>ctype_space</refname> <refpurpose>Check for whitespace character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_space</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, creates whitespace. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> creates some sort of white space, &false; otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_space</function> example</title> @@ -45,9 +74,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_cntrl</function>, <function>ctype_graph</function>, - and <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-upper.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-upper.xml diff -u phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-upper.xml Mon Mar 7 15:55:39 2005 @@ -1,21 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-upper"> <refnamediv> <refname>ctype_upper</refname> <refpurpose>Check for uppercase character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_upper</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are uppercase characters. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is an uppercase letter in the current locale. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_upper</function> example (using the default locale)</title> @@ -43,9 +72,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alpha</function>, <function>ctype_lower</function>, - and <function>setlocale</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_lower</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-xdigit.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-xdigit.xml diff -u phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-xdigit.xml Mon Mar 7 15:55:39 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-xdigit"> <refnamediv> @@ -8,17 +8,46 @@ Check for character(s) representing a hexadecimal digit </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_xdigit</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> - </methodsynopsis> + </methodsynopsis> + <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are hexadecimal 'digits'. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> Returns &true; if every character in <parameter>text</parameter> is a hexadecimal 'digit', that is a decimal digit or a character from <literal>[A-Fa-f]</literal> , &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_xdigit</function> example</title> @@ -46,8 +75,14 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_digit</function>. + <simplelist> + <member><function>ctype_digit</function></member> + </simplelist> </para> </refsect1> </refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Mon Mar 7 15:55:39 2005 @@ -1,23 +1,53 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-alnum"> <refnamediv> <refname>ctype_alnum</refname> <refpurpose>Check for alphanumeric character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_alnum</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are alphanumeric. In the standard + <literal>C</literal> locale letters are just <literal>[A-Za-z]</literal> + and the function is equivalent to + <literal>preg_match('/^[a-z0-9]*$/i', $text)</literal>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is either - a letter or a digit, &false; otherwise. In the standard <literal>C</literal> - locale letters are just <literal>[A-Za-z]</literal> and the function is - equivalent to <literal>preg_match('/^[a-z0-9]*$/i', $text)</literal>. + a letter or a digit, &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_alnum</function> example (using the default locale)</title> @@ -44,9 +74,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alpha</function>, <function>ctype_digit</function>, - and <function>setlocale</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_digit</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alpha.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alpha.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-alpha.xml Mon Mar 7 15:55:39 2005 @@ -1,26 +1,55 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-alpha"> <refnamediv> <refname>ctype_alpha</refname> <refpurpose>Check for alphabetic character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_alpha</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> - Returns &true; if every character in <parameter>text</parameter> is - a letter from the current locale, &false; otherwise. + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are alphabetic. In the standard <literal>C</literal> locale letters are just <literal>[A-Za-z]</literal> and <function>ctype_alpha</function> is equivalent to <literal>(ctype_upper($text) || ctype_lower($text))</literal> if $text is just a single character, but other languages have letters that are considered neither upper nor lower case. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a letter from the current locale, &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_alpha</function> example (using the default locale)</title> @@ -47,10 +76,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_upper</function>, - <function>ctype_lower</function>, and - <function>setlocale</function>. + <simplelist> + <member><function>ctype_upper</function></member> + <member><function>ctype_lower</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-cntrl.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-cntrl.xml diff -u phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-cntrl.xml Mon Mar 7 15:55:39 2005 @@ -1,22 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-cntrl"> <refnamediv> <refname>ctype_cntrl</refname> <refpurpose>Check for control character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_cntrl</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> - Returns &true; if every character in <parameter>text</parameter> has - a special control function, &false; otherwise. Control characters are - e.g. line feed, tab, esc. + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are control characters. + Control characters are e.g. line feed, tab, esc. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a letter from the current locale, &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_cntrl</function> example</title> @@ -44,6 +73,15 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ctype_print</function></member> + </simplelist> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-digit.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-digit.xml diff -u phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-digit.xml Mon Mar 7 15:55:39 2005 @@ -1,21 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-digit"> <refnamediv> <refname>ctype_digit</refname> <refpurpose>Check for numeric character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_digit</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are numerical. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is a decimal digit, &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_digit</function> example</title> @@ -43,8 +72,15 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alnum</function> and <function>ctype_xdigit</function>. + <simplelist> + <member><function>ctype_alnum</function></member> + <member><function>ctype_xdigit</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-graph.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-graph.xml diff -u phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-graph.xml Mon Mar 7 15:55:39 2005 @@ -1,22 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-graph"> <refnamediv> <refname>ctype_graph</refname> <refpurpose>Check for any printable character(s) except space</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_graph</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, creates visible output. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is printable and actually creates visible output (no white space), &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_graph</function> example</title> @@ -44,9 +73,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alnum</function>, <function>ctype_print</function>, - and <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_alnum</function></member> + <member><function>ctype_print</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-lower.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-lower.xml diff -u phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-lower.xml Mon Mar 7 15:55:39 2005 @@ -1,21 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-lower"> <refnamediv> <refname>ctype_lower</refname> <refpurpose>Check for lowercase character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_lower</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are lowercase letters. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is a lowercase letter in the current locale. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_lower</function> example (using the default locale)</title> @@ -43,9 +72,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alpha</function>, <function>ctype_upper</function>, - and <function>setlocale</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_upper</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-print.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-print.xml diff -u phpdoc/en/reference/ctype/functions/ctype-print.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-print.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-print.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-print.xml Mon Mar 7 15:55:39 2005 @@ -1,23 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-print"> <refnamediv> <refname>ctype_print</refname> <refpurpose>Check for printable character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_print</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are printable. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> will actually create output (including blanks). Returns &false; if <parameter>text</parameter> contains control characters or characters that do not have any output or control function at all. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_print</function> example</title> @@ -45,9 +74,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_cntrl</function>, <function>ctype_graph</function>, - and <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-punct.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-punct.xml diff -u phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-punct.xml Mon Mar 7 15:55:39 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-punct"> <refnamediv> @@ -9,16 +9,45 @@ alphanumeric character </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_punct</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are punctuation character. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is printable, but neither letter, digit or blank, &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_punct</function> example</title> @@ -46,8 +75,15 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_cntrl</function> and <function>ctype_graph</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-space.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-space.xml diff -u phpdoc/en/reference/ctype/functions/ctype-space.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-space.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-space.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-space.xml Mon Mar 7 15:55:39 2005 @@ -1,23 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-space"> <refnamediv> <refname>ctype_space</refname> <refpurpose>Check for whitespace character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_space</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, creates whitespace. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> creates some sort of white space, &false; otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_space</function> example</title> @@ -45,9 +74,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_cntrl</function>, <function>ctype_graph</function>, - and <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-upper.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-upper.xml diff -u phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-upper.xml Mon Mar 7 15:55:39 2005 @@ -1,21 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-upper"> <refnamediv> <refname>ctype_upper</refname> <refpurpose>Check for uppercase character(s)</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_upper</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are uppercase characters. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> Returns &true; if every character in <parameter>text</parameter> is an uppercase letter in the current locale. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_upper</function> example (using the default locale)</title> @@ -43,9 +72,16 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_alpha</function>, <function>ctype_lower</function>, - and <function>setlocale</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_lower</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-xdigit.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ctype/functions/ctype-xdigit.xml diff -u phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.5 phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.6 --- phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.5 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-xdigit.xml Mon Mar 7 15:55:39 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 --> <refentry id="function.ctype-xdigit"> <refnamediv> @@ -8,17 +8,46 @@ Check for character(s) representing a hexadecimal digit </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ctype_xdigit</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> - </methodsynopsis> + </methodsynopsis> + <para> + Checks if all of the characters in the provided string, + <parameter>text</parameter>, are hexadecimal 'digits'. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> Returns &true; if every character in <parameter>text</parameter> is a hexadecimal 'digit', that is a decimal digit or a character from <literal>[A-Fa-f]</literal> , &false; otherwise. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>A <function>ctype_xdigit</function> example</title> @@ -46,8 +75,14 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>ctype_digit</function>. + <simplelist> + <member><function>ctype_digit</function></member> + </simplelist> </para> </refsect1> </refentry>