cvs: phpdoc /en/reference/intl/locale filter-matches.xml lookup.xml

From: Date: Thu, 02 Jul 2009 00:26:34 +0000
Subject: cvs: phpdoc /en/reference/intl/locale filter-matches.xml lookup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4309@lists.php.net to get a copy of this message
stas Thu Jul 2 00:26:34 2009 UTC Modified files: /phpdoc/en/reference/intl/locale filter-matches.xml lookup.xml Log: fix docs for lookup and filter-matches http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/intl/locale/filter-matches.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/intl/locale/filter-matches.xml diff -u phpdoc/en/reference/intl/locale/filter-matches.xml:1.5 phpdoc/en/reference/intl/locale/filter-matches.xml:1.6 --- phpdoc/en/reference/intl/locale/filter-matches.xml:1.5 Wed Jul 1 20:16:13 2009 +++ phpdoc/en/reference/intl/locale/filter-matches.xml Thu Jul 2 00:26:34 2009 @@ -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 http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/intl/locale/lookup.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/intl/locale/lookup.xml diff -u phpdoc/en/reference/intl/locale/lookup.xml:1.2 phpdoc/en/reference/intl/locale/lookup.xml:1.3 --- phpdoc/en/reference/intl/locale/lookup.xml:1.2 Sun Jan 27 19:48:18 2008 +++ phpdoc/en/reference/intl/locale/lookup.xml Thu Jul 2 00:26:34 2009 @@ -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>

« previous php.doc.cvs (#4309) next »