- More WS fixes

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264323 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Felipe Pena 2008-08-06 18:24:50 +00:00
parent b053b36586
commit dc34eabd44
10 changed files with 66 additions and 66 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry xml:id="function.grapheme-extract" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_extract</refname>
@ -10,11 +10,11 @@
<para>Procedural style</para>
<methodsynopsis>
<type>string</type><methodname>grapheme_extract</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>int</type><parameter>size</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>extract_type</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>start</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter role="reference">next</parameter></methodparam>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>int</type><parameter>size</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>extract_type</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>start</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter role="reference">next</parameter></methodparam>
</methodsynopsis>
<para>
Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8.
@ -29,7 +29,7 @@
<term><parameter>haystack</parameter></term>
<listitem>
<para>
String to search.
String to search.
</para>
</listitem>
</varlistentry>
@ -37,7 +37,7 @@
<term><parameter>size</parameter></term>
<listitem>
<para>
Maximum number items - based on the $extract_type - to return.
Maximum number items - based on the $extract_type - to return.
</para>
</listitem>
</varlistentry>
@ -63,7 +63,7 @@
<term><parameter>start</parameter></term>
<listitem>
<para>
Starting position in $haystack in bytes - if given, it must be zero or a
Starting position in $haystack in bytes - if given, it must be zero or a
positive value that is less than or equal to the length of $haystack in
bytes. The default is zero. If $start does not point to the first byte of a UTF-8
character, the start position is moved to the next character boundary.

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.grapheme-stripos" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_stripos</refname>
@ -10,14 +10,14 @@
<para>Procedural style</para>
<methodsynopsis>
<type>int</type><methodname>grapheme_stripos</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>offset</parameter></methodparam>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
<para>
Find position (in grapheme units) of first occurrence of a case-insensitive string
</para>
</refsect1>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@ -43,7 +43,7 @@
<term><parameter>offset</parameter></term>
<listitem>
<para>
The optional $offset parameter allows you to specify where in haystack to
The optional $offset parameter allows you to specify where in haystack to
start searching as an offset in grapheme units (not bytes or characters). If not given, the default is zero.
The position returned is still relative to the beginning of haystack
regardless of the value of $offset.

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.grapheme-stristr" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_stristr</refname>
@ -10,14 +10,14 @@
<para>Procedural style</para>
<methodsynopsis>
<type>string</type><methodname>grapheme_stristr</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>boolean</type><parameter>before_needle</parameter></methodparam>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>boolean</type><parameter>before_needle</parameter></methodparam>
</methodsynopsis>
<para>
Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack.
</para>
</refsect1>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@ -27,7 +27,7 @@
<term><parameter>haystack</parameter></term>
<listitem>
<para>
The input string. Must be valid UTF-8.
The input string. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -35,7 +35,7 @@
<term><parameter>needle</parameter></term>
<listitem>
<para>
The string to look for. Must be valid UTF-8.
The string to look for. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -43,7 +43,7 @@
<term><parameter>before_needle</parameter></term>
<listitem>
<para>
If TRUE (the default is FALSE), grapheme_strstr() returns the part of the
If TRUE (the default is FALSE), grapheme_strstr() returns the part of the
haystack before the first occurence of the needle.
</para>
</listitem>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.grapheme-strlen" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_strlen</refname>
@ -10,12 +10,12 @@
<para>Procedural style</para>
<methodsynopsis>
<type>int</type><methodname>grapheme_strlen</methodname>
<methodparam><type>string</type><parameter>input</parameter></methodparam>
<methodparam><type>string</type><parameter>input</parameter></methodparam>
</methodsynopsis>
<para>
Get string length in grapheme units (not bytes or characters)
</para>
</refsect1>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@ -25,7 +25,7 @@
<term><parameter>input</parameter></term>
<listitem>
<para>
The string being measured for length. It must be a valid UTF-8 string.
The string being measured for length. It must be a valid UTF-8 string.
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.grapheme-strpos" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_strpos</refname>
@ -10,9 +10,9 @@
<para>Procedural style</para>
<methodsynopsis>
<type>int</type><methodname>grapheme_strpos</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>offset</parameter></methodparam>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
<para>
Find position (in grapheme units) of first occurrence of a string
@ -27,7 +27,7 @@
<term><parameter>haystack</parameter></term>
<listitem>
<para>
The string to look in. Must be valid UTF-8.
The string to look in. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -35,7 +35,7 @@
<term><parameter>needle</parameter></term>
<listitem>
<para>
The string to look for. Must be valid UTF-8.
The string to look for. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -43,7 +43,7 @@
<term><parameter>offset</parameter></term>
<listitem>
<para>
The optional $offset parameter allows you to specify where in $haystack to
The optional $offset parameter allows you to specify where in $haystack to
start searching as an offset in grapheme units (not bytes or characters). If not given, the default is zero.
The position returned is still relative to the beginning of haystack
regardless of the value of $offset.

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.grapheme-strripos" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_strripos</refname>
@ -10,14 +10,14 @@
<para>Procedural style</para>
<methodsynopsis>
<type>int</type><methodname>grapheme_strripos</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>offset</parameter></methodparam>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
<para>
Find position (in grapheme units) of last occurrence of a case-insensitive string
</para>
</refsect1>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@ -27,7 +27,7 @@
<term><parameter>haystack</parameter></term>
<listitem>
<para>
The string to look in. Must be valid UTF-8.
The string to look in. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -35,7 +35,7 @@
<term><parameter>needle</parameter></term>
<listitem>
<para>
The string to look for. Must be valid UTF-8.
The string to look for. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.grapheme-strrpos" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_strrpos</refname>
@ -10,9 +10,9 @@
<para>Procedural style</para>
<methodsynopsis>
<type>int</type><methodname>grapheme_strrpos</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>offset</parameter></methodparam>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
<para>
Find position (in grapheme units) of last occurrence of a string
@ -27,7 +27,7 @@
<term><parameter>haystack</parameter></term>
<listitem>
<para>
The string to look in. Must be valid UTF-8.
The string to look in. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -35,7 +35,7 @@
<term><parameter>needle</parameter></term>
<listitem>
<para>
The string to look for. Must be valid UTF-8.
The string to look for. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.grapheme-strstr" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_strstr</refname>
@ -10,14 +10,14 @@
<para>Procedural style</para>
<methodsynopsis>
<type>string</type><methodname>grapheme_strstr</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>boolean</type><parameter>before_needle</parameter></methodparam>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice='opt'><type>boolean</type><parameter>before_needle</parameter></methodparam>
</methodsynopsis>
<para>
Returns part of haystack string from the first occurrence of needle to the end of haystack.
</para>
</refsect1>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@ -27,7 +27,7 @@
<term><parameter>haystack</parameter></term>
<listitem>
<para>
The input string. Must be valid UTF-8.
The input string. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -35,7 +35,7 @@
<term><parameter>needle</parameter></term>
<listitem>
<para>
The string to look for. Must be valid UTF-8.
The string to look for. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -43,7 +43,7 @@
<term><parameter>before_needle</parameter></term>
<listitem>
<para>
If TRUE (the default is FALSE), grapheme_strstr() returns the part of the
If TRUE (the default is FALSE), grapheme_strstr() returns the part of the
haystack before the first occurence of the needle.
</para>
</listitem>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry xml:id="function.grapheme-substr" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_substr</refname>
@ -10,14 +10,14 @@
<para>Procedural style</para>
<methodsynopsis>
<type>int</type><methodname>grapheme_substr</methodname>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam><type>int</type><parameter>start</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>length</parameter></methodparam>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam><type>int</type><parameter>start</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>length</parameter></methodparam>
</methodsynopsis>
<para>
Return part of a string
</para>
</refsect1>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@ -27,7 +27,7 @@
<term><parameter>string</parameter></term>
<listitem>
<para>
The input string. Must be valid UTF-8.
The input string. Must be valid UTF-8.
</para>
</listitem>
</varlistentry>
@ -36,7 +36,7 @@
<listitem>
<para>
Start position in default grapheme units.
If $start is non-negative, the returned string will start at the
If $start is non-negative, the returned string will start at the
$start'th position in $string, counting from zero. If $start is negative,
the returned string will start at the $start'th grapheme unit from the
end of string.
@ -48,7 +48,7 @@
<listitem>
<para>
Length in grapheme units.
If $length is given and is positive, the string returned will contain
If $length is given and is positive, the string returned will contain
at most $length grapheme units beginning from $start (depending on the
length of string). If $string is less than or equal to $start grapheme
units long, FALSE will be returned. If $length is given and is negative, then

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry xml:id="function.intl-get-error-code">
<refnamediv>
<refname>intl_get_error_code</refname>
@ -32,7 +32,7 @@
<example>
<title><function>intl_get_error_code</function> example</title>
<programlisting role="php">
<![CDATA[
<![CDATA[
<?php
$coll = collator_create( '<bad_param>' );
if( !$coll ) {