Collator::create
collator_create
Create a collator
&reftitle.description;
Object oriented style
static
Collator
Collator::create
stringlocale
Procedural style
Collator
collator_create
stringlocale
The strings will be compared using the options already specified.
&reftitle.parameters;
locale
The locale containing the required collation rules. Special values for
locales can be passed in - if null is passed for the locale, the
default locale collation rules will be used. If empty string ("") or
"root" are passed, UCA rules will be used.
&reftitle.returnvalues;
Return new instance of Collator object, or &null;
on error.
&reftitle.examples;
collator_create example
]]>
&reftitle.seealso;
Collator::__construct