cvs: phpdoc /en/reference/ctype book.xml reference.xml setup.xml
| From: | Hannes Magnusson | Date: | Fri, 14 Dec 2007 17:20:32 +0000 |
| Subject: | cvs: phpdoc /en/reference/ctype book.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-645@lists.php.net to get a copy of this message | ||
bjori Fri Dec 14 17:20:32 2007 UTC
Modified files:
/phpdoc/en/reference/ctype book.xml setup.xml reference.xml
Log:
MFB: Upgrade to the new-reference-structure
- Moved the intro from reference.xml to book.xml
- Change the intro ID to intro.<extname>
- Moved the setup sections to setup.xml
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ctype/book.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/ctype/book.xml
diff -u /dev/null phpdoc/en/reference/ctype/book.xml:1.2
--- /dev/null Fri Dec 14 17:20:32 2007
+++ phpdoc/en/reference/ctype/book.xml Fri Dec 14 17:20:32 2007
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+<!-- Purpose: basic.vartype -->
+<!-- Membership: bundled -->
+
+<book xml:id="book.ctype" xmlns="http://docbook.org/ns/docbook">
+ <title>Character Type Functions</title>
+ <titleabbrev>ctype</titleabbrev>
+
+ <preface xml:id="intro.ctype">
+ &reftitle.intro;
+ <para>
+ The functions provided by this extension check whether a character
+ or string falls into a certain character class according to the
+ current locale (see also <function>setlocale</function>).
+ </para>
+ <para>
+ When called with an integer argument these functions
+ behave exactly like their C counterparts from
+ <filename>ctype.h</filename>.
+ It means that if you pass an integer smaller than 256 it will use the
+ ASCII value of it to see if it fits in the specified range (digits are in
+ 0x30-0x39). If the number is between -128 and -1 inclusive then 256 will
+ be added and the check will be done on that.
+ </para>
+ <para>
+ When called with a string argument they will check
+ every character in the string and will only return
+ &true; if every character in the string matches the
+ requested criteria. When called with an empty string
+ the result will always be &true; in PHP < 5.1 and &false; since 5.1.
+ </para>
+ <para>
+ Passing anything else but a string or integer will
+ return &false; immediately.
+ </para>
+ <para>
+ It should be noted that ctype functions are always preferred over
+ regular expressions, and even to some equivalent str_* and is_* functions.
+ This is because of the fact that ctype uses a native C library and thus
+ processes significantly faster.
+ </para>
+ </preface>
+
+ &reference.ctype.setup;
+ &reference.ctype.reference;
+
+</book>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ctype/setup.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/ctype/setup.xml
diff -u /dev/null phpdoc/en/reference/ctype/setup.xml:1.2
--- /dev/null Fri Dec 14 17:20:32 2007
+++ phpdoc/en/reference/ctype/setup.xml Fri Dec 14 17:20:32 2007
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.2 $ -->
+
+<chapter xml:id="ctype.setup">
+ &reftitle.setup;
+
+ <section xml:id="ctype.requirements">
+ &reftitle.required;
+ <para>
+ None besides functions from the standard C library which are
+ always available.
+ </para>
+ </section>
+
+ &reference.ctype.configure;
+
+ <section xml:id="ctype.configuration">
+ &reftitle.runtime;
+ &no.config;
+ </section>
+
+ <section xml:id="ctype.resources">
+ &reftitle.resources;
+ &no.resource;
+ </section>
+
+</chapter>
+
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ctype/reference.xml?r1=1.16&r2=1.17&diff_format=u
Index: phpdoc/en/reference/ctype/reference.xml
diff -u phpdoc/en/reference/ctype/reference.xml:1.16 phpdoc/en/reference/ctype/reference.xml:1.17
--- phpdoc/en/reference/ctype/reference.xml:1.16 Mon Dec 10 17:06:02 2007
+++ phpdoc/en/reference/ctype/reference.xml Fri Dec 14 17:20:32 2007
@@ -1,78 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
-<!-- Purpose: basic.vartype -->
-<!-- Membership: bundled -->
+<!-- $Revision: 1.17 $ -->
- <reference xml:id="ref.ctype" xmlns="http://docbook.org/ns/docbook">
- <title>Character Type Functions</title>
- <titleabbrev>ctype</titleabbrev>
+<reference xml:id="ref.ctype" xmlns="http://docbook.org/ns/docbook">
+ <title>Character Type Functions</title>
- <partintro>
- <section xml:id="ctype.intro">
- &reftitle.intro;
- <para>
- The functions provided by this extension check whether a character
- or string falls into a certain character class according to the
- current locale (see also <function>setlocale</function>).
- </para>
- <para>
- When called with an integer argument these functions
- behave exactly like their C counterparts from
- <filename>ctype.h</filename>.
- It means that if you pass an integer smaller than 256 it will use the
- ASCII value of it to see if it fits in the specified range (digits are in
- 0x30-0x39). If the number is between -128 and -1 inclusive then 256 will
- be added and the check will be done on that.
- </para>
- <para>
- When called with a string argument they will check
- every character in the string and will only return
- &true; if every character in the string matches the
- requested criteria. When called with an empty string
- the result will always be &true; in PHP < 5.1 and &false; since 5.1.
- </para>
- <para>
- Passing anything else but a string or integer will
- return &false; immediately.
- </para>
- <para>
- It should be noted that ctype functions are always preferred over
- regular expressions, and even to some equivalent str_* and is_* functions.
- This is because of the fact that ctype uses a native C library and thus
- processes significantly faster.
- </para>
- </section>
-
- <section xml:id="ctype.requirements">
- &reftitle.required;
- <para>
- None besides functions from the standard C library which are
- always available.
- </para>
- </section>
+ &reference.ctype.entities.functions;
- &reference.ctype.configure;
+</reference>
- <section xml:id="ctype.configuration">
- &reftitle.runtime;
- &no.config;
- </section>
-
- <section xml:id="ctype.resources">
- &reftitle.resources;
- &no.resource;
- </section>
-
- <section xml:id="ctype.constants">
- &reftitle.constants;
- &no.constants;
- </section>
-
- </partintro>
-
-&reference.ctype.entities.functions;
-
- </reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml