[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] cvs: pecl /intl/doc/intl/normalizer normalizer-is-normalized.xml normalizer-normalize.xml
From: "Stanislav Malyshev" <stas () php ! net>
Date: 2007-11-30 2:01:34
Message-ID: cvsstas1196388094 () cvsserver
[Download RAW message or body]
stas Fri Nov 30 02:01:34 2007 UTC
Modified files:
/pecl/intl/doc/intl/normalizer normalizer-is-normalized.xml
normalizer-normalize.xml
Log:
fix formatting
["stas-20071130020134.txt" (text/plain)]
http://cvs.php.net/viewvc.cgi/pecl/intl/doc/intl/normalizer/normalizer-is-normalized.xml?r1=1.1&r2=1.2&diff_format=u
Index: pecl/intl/doc/intl/normalizer/normalizer-is-normalized.xml
diff -u pecl/intl/doc/intl/normalizer/normalizer-is-normalized.xml:1.1 \
pecl/intl/doc/intl/normalizer/normalizer-is-normalized.xml:1.2
--- pecl/intl/doc/intl/normalizer/normalizer-is-normalized.xml:1.1 Mon Nov 26 \
22:32:43 2007
+++ pecl/intl/doc/intl/normalizer/normalizer-is-normalized.xml Fri Nov 30 02:01:34 \
2007 @@ -1,119 +1,124 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
-<refentry xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="normalizer.isnormalized"> +<!-- \
$Revision: 1.2 $ --> +<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xml:id="normalizer.isnormalized">
<refnamediv>
<refname>Normalizer::isNormalized</refname>
<refname>normalizer_is_normalized</refname>
- <refpurpose>Checks if the provided string is already in the specified \
normalization form.</refpurpose> + <refpurpose>
+ Checks if the provided string is already in the specified normalization
+ form.
+ </refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
- <para>Object oriented style</para>
+ <para>Object oriented style</para>
<classsynopsis>
- <ooclass><classname>Normalizer</classname></ooclass>
+ <ooclass>
+ <classname>Normalizer</classname>
+ </ooclass>
<methodsynopsis>
- <modifier>static</modifier>
- <type>boolean</type><methodname>isNormalized</methodname>
- <methodparam><type>string</type><parameter>input</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
- </methodsynopsis>
+ <modifier>static</modifier>
+ <type>boolean</type>
+ <methodname>isNormalized</methodname>
+ <methodparam><type>string</type><parameter>input</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
+ </methodsynopsis>
</classsynopsis>
<para>Procedural style</para>
<methodsynopsis>
- <type>boolean</type><methodname>normalizer_is_normalized</methodname>
- <methodparam><type>string</type><parameter>input</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
- </methodsynopsis>
+ <type>boolean</type>
+ <methodname>normalizer_is_normalized</methodname>
+ <methodparam><type>string</type><parameter>input</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
+ </methodsynopsis>
<para>
- Checks if the provided string is already in the specified normalization form. \
</para>
- </refsect1>
+ Checks if the provided string is already in the specified normalization
+ form.
+ </para>
+ </refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
+ <varlistentry>
<term><parameter>input</parameter></term>
<listitem>
- <para>
- The input string to normalize </para>
+ <para>The input string to normalize</para>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry>
<term><parameter>form</parameter></term>
<listitem>
- <para>
- One of the normalization forms </para>
+ <para>One of the normalization forms</para>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry>
<term><parameter>options</parameter></term>
<listitem>
- <para>
- Normalization options </para>
+ <para>Normalization options</para>
</listitem>
</varlistentry>
- </variablelist>
+ </variablelist>
</para>
</refsect1>
-
-
+
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
- <para>
- True if normalized, false otherwise or if there an error </para>
+ <para>&true; if normalized, &false; otherwise or if there an error</para>
</refsect1>
-
+
<refsect1 role="examples">
&reftitle.examples;
- <example>
- <title><function>normalizer_is_normalized</function> example</title>
- <programlisting role="php">
-<![CDATA[
+ <example>
+ <title>
+ <function>normalizer_is_normalized</function> example
+ </title>
+ <programlisting role="php">
+ <![CDATA[
<?php
-
- $char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH RING ABOVE' (U+00C5)
- $char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING ABOVE' (U+030A)
+$char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH RING ABOVE' (U+00C5)
+$char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING ABOVE' (U+030A)
- $char_orig = 'A' . $char_combining_ring_above;
- $char_norm = normalizer_normalize( 'A' . $char_combining_ring_above, \
Normalizer::FORM_C );
-
- echo ( normalizer_is_normalized($char_orig, Normalizer::FORM_C) ) ? "normalized" : \
"not normalized";
- echo '; ';
- echo ( normalizer_is_normalized($char_norm, Normalizer::FORM_C) ) ? "normalized" : \
"not normalized"; +$char_orig = 'A' . $char_combining_ring_above;
+$char_norm = normalizer_normalize( 'A' . $char_combining_ring_above, \
Normalizer::FORM_C );
+echo ( normalizer_is_normalized($char_orig, Normalizer::FORM_C) ) ? "normalized" : \
"not normalized"; +echo '; ';
+echo ( normalizer_is_normalized($char_norm, Normalizer::FORM_C) ) ? "normalized" : \
"not normalized"; ?>
]]>
- </programlisting>
- </example>
- <example>
- <title>OO example</title>
- <programlisting role="php">
-<![CDATA[
+ </programlisting>
+ </example>
+ <example>
+ <title>OO example</title>
+ <programlisting role="php">
+ <![CDATA[
<?php
-
- $char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH RING ABOVE' (U+00C5)
- $char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING ABOVE' (U+030A)
-
- $char_orig = 'A' . $char_combining_ring_above;
- $char_norm = Normalizer::normalize( 'A' . $char_combining_ring_above, \
Normalizer::FORM_C ); +$char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH \
RING ABOVE' (U+00C5) +$char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING \
ABOVE' (U+030A)
- echo ( Normalizer::isNormalized($char_orig, Normalizer::FORM_C) ) ? "normalized" : \
"not normalized";
- echo '; ';
- echo ( Normalizer::isNormalized($char_norm, Normalizer::FORM_C) ) ? "normalized" : \
"not normalized"; +$char_orig = 'A' . $char_combining_ring_above;
+$char_norm = Normalizer::normalize( 'A' . $char_combining_ring_above, \
Normalizer::FORM_C );
+echo ( Normalizer::isNormalized($char_orig, Normalizer::FORM_C) ) ? "normalized" : \
"not normalized"; +echo '; ';
+echo ( Normalizer::isNormalized($char_norm, Normalizer::FORM_C) ) ? "normalized" : \
"not normalized"; ?>
]]>
- </programlisting>
- </example>
- &example.outputs;
- <screen>
- <![CDATA[
+ </programlisting>
+ </example>
+ &example.outputs;
+ <screen>
+ <![CDATA[
not normalized; normalized
]]>
- </screen>
+ </screen>
</refsect1>
<refsect1 role="seealso">
@@ -126,22 +131,22 @@
</refsect1>
</refentry>
<!-- 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
+ 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/pecl/intl/doc/intl/normalizer/normalizer-normalize.xml?r1=1.1&r2=1.2&diff_format=u
Index: pecl/intl/doc/intl/normalizer/normalizer-normalize.xml
diff -u pecl/intl/doc/intl/normalizer/normalizer-normalize.xml:1.1 \
pecl/intl/doc/intl/normalizer/normalizer-normalize.xml:1.2
--- pecl/intl/doc/intl/normalizer/normalizer-normalize.xml:1.1 Mon Nov 26 22:32:43 \
2007
+++ pecl/intl/doc/intl/normalizer/normalizer-normalize.xml Fri Nov 30 02:01:34 2007
@@ -1,117 +1,119 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
-<refentry xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="normalizer.normalize"> +<!-- \
$Revision: 1.2 $ --> +<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="normalizer.normalize">
<refnamediv>
<refname>Normalizer::normalize</refname>
<refname>normalizer_normalize</refname>
- <refpurpose>Normalizes the input provided and returns the normalized \
string</refpurpose> + <refpurpose>
+ Normalizes the input provided and returns the normalized string
+ </refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
- <para>Object oriented style</para>
+ <para>Object oriented style</para>
<classsynopsis>
- <ooclass><classname>Normalizer</classname></ooclass>
+ <ooclass>
+ <classname>Normalizer</classname>
+ </ooclass>
<methodsynopsis>
- <modifier>static</modifier>
- <type>string</type><methodname>normalize</methodname>
- <methodparam><type>string</type><parameter>input</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
- </methodsynopsis>
+ <modifier>static</modifier>
+ <type>string</type>
+ <methodname>normalize</methodname>
+ <methodparam><type>string</type><parameter>input</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
+ </methodsynopsis>
</classsynopsis>
<para>Procedural style</para>
<methodsynopsis>
- <type>string</type><methodname>normalizer_normalize</methodname>
- <methodparam><type>string</type><parameter>input</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
- </methodsynopsis>
- <para>
- Normalizes the input provided and returns the normalized string </para>
- </refsect1>
+ <type>string</type>
+ <methodname>normalizer_normalize</methodname>
+ <methodparam><type>string</type><parameter>input</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
+ </methodsynopsis>
+ <para>Normalizes the input provided and returns the normalized string</para>
+ </refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
+ <varlistentry>
<term><parameter>input</parameter></term>
<listitem>
- <para>
- The input string to normalize </para>
+ <para>The input string to normalize</para>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry>
<term><parameter>form</parameter></term>
<listitem>
- <para>
- One of the normalization forms </para>
+ <para>One of the normalization forms</para>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry>
<term><parameter>options</parameter></term>
<listitem>
- <para>
- Normalization options </para>
+ <para>Normalization options</para>
</listitem>
</varlistentry>
- </variablelist>
+ </variablelist>
</para>
</refsect1>
-
-
+
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
- <para>
- The normalized string or null if an error occurred. </para>
+ <para>The normalized string or &null; if an error occurred.</para>
</refsect1>
-
+
<refsect1 role="examples">
&reftitle.examples;
- <example>
- <title><function>normalizer_normalize</function> example</title>
- <programlisting role="php">
-<![CDATA[
+ <example>
+ <title>
+ <function>normalizer_normalize</function> example
+ </title>
+ <programlisting role="php">
+ <![CDATA[
<?php
-
- $char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH RING ABOVE' (U+00C5)
- $char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING ABOVE' (U+030A)
+$char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH RING ABOVE' (U+00C5)
+$char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING ABOVE' (U+030A)
- $char_1 = normalizer_normalize( $char_A_ring, Normalizer::FORM_C );
- $char_2 = normalizer_normalize( 'A' . $char_combining_ring_above, \
Normalizer::FORM_C ); +$char_1 = normalizer_normalize( $char_A_ring, \
Normalizer::FORM_C ); +$char_2 = normalizer_normalize( 'A' . \
$char_combining_ring_above, Normalizer::FORM_C );
- echo urlencode($char_1);
- echo ' ';
- echo urlencode($char_2);
+echo urlencode($char_1);
+echo ' ';
+echo urlencode($char_2);
?>
]]>
- </programlisting>
- </example>
- <example>
- <title>OO example</title>
- <programlisting role="php">
-<![CDATA[
+ </programlisting>
+ </example>
+ <example>
+ <title>OO example</title>
+ <programlisting role="php">
+ <![CDATA[
<?php
-
- $char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH RING ABOVE' (U+00C5)
- $char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING ABOVE' (U+030A)
+$char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH RING ABOVE' (U+00C5)
+$char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING ABOVE' (U+030A)
- $char_1 = Normalizer::normalize( $char_A_ring, Normalizer::FORM_C );
- $char_2 = Normalizer::normalize( 'A' . $char_combining_ring_above, \
Normalizer::FORM_C ); +$char_1 = Normalizer::normalize( $char_A_ring, \
Normalizer::FORM_C ); +$char_2 = Normalizer::normalize( 'A' . \
$char_combining_ring_above, Normalizer::FORM_C );
- echo urlencode($char_1);
- echo ' ';
- echo urlencode($char_2);
+echo urlencode($char_1);
+echo ' ';
+echo urlencode($char_2);
?>
]]>
- </programlisting>
- </example>
- &example.outputs;
- <screen>
- <![CDATA[
+ </programlisting>
+ </example>
+ &example.outputs;
+ <screen>
+ <![CDATA[
%C3%85 %C3%85
]]>
- </screen>
+ </screen>
</refsect1>
<refsect1 role="seealso">
@@ -124,22 +126,22 @@
</refsect1>
</refentry>
<!-- 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
+ 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
-->
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic