mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix docs for lookup and filter-matches
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283308 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
bf88ac1da5
commit
3b283caf49
2 changed files with 20 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="locale.filtermatches">
|
||||
<refnamediv>
|
||||
<refname>Locale::filterMatches</refname>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<methodname>Locale::filterMatches</methodname>
|
||||
<methodparam><type>string</type><parameter>langtag</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
|
||||
<methodparam><type>bool</type><parameter>canonicalize</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>canonicalize</parameter><initializer>false</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Procedural style
|
||||
|
@ -28,7 +28,7 @@
|
|||
<methodname>locale_filter_matches</methodname>
|
||||
<methodparam><type>string</type><parameter>langtag</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
|
||||
<methodparam><type>bool</type><parameter>canonicalize</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>canonicalize</parameter><initializer>false</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Checks if a $langtag filter matches with $locale according to RFC 4647's
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="locale.lookup">
|
||||
<refnamediv>
|
||||
<refname>Locale::lookup</refname>
|
||||
|
@ -18,7 +18,8 @@
|
|||
<methodname>Locale::lookup</methodname>
|
||||
<methodparam><type>array</type><parameter>langtag</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>default</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>canonicalize</parameter><initializer>false</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>default</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Procedural style
|
||||
|
@ -28,7 +29,8 @@
|
|||
<methodname>locale_lookup</methodname>
|
||||
<methodparam><type>array</type><parameter>langtag</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>default</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>canonicalize</parameter><initializer>false</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>default</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Searches the items in <parameter>langtag</parameter> for the best match to
|
||||
|
@ -58,7 +60,18 @@
|
|||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>canonicalize</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
If true, the arguments will be converted to canonical form before
|
||||
matching.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>default</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue