1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="Locale" namespace="" name="Locale">
<method name="acceptFromHttp" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Tries to find out best available locale based on HTTP "Accept-Language" header">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="header" optional="false" byreference="false" type="string"/>
</method>
<method name="canonicalize" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Canonicalize the locale string"/>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
</method>
<method name="composeLocale" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns a correctly ordered and delimited locale ID">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="subtags" optional="false" byreference="false" type="object" class="array"/>
</method>
<method name="filterMatches" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Checks if a language tag filter matches with locale">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="langtag" optional="false" byreference="false" type="string"/>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="canonicalize" optional="true" byreference="false" type="object" class="bool"/>
</method>
<method name="getAllVariants" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Gets the variants for the input locale">Object oriented style</description>
<return type="array"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
</method>
<method name="getDefault" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Gets the default locale value from the INTL global 'default_locale'">Object oriented style</description>
<return type="string"/>
</docblock>
</method>
<method name="getDisplayLanguage" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns an appropriately localized display name for language of the inputlocale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="in_locale" optional="true" byreference="false" type="string"/>
</method>
<method name="getDisplayName" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns an appropriately localized display name for the input locale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="in_locale" optional="true" byreference="false" type="string"/>
</method>
<method name="getDisplayRegion" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns an appropriately localized display name for region of the input locale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="in_locale" optional="true" byreference="false" type="string"/>
</method>
<method name="getDisplayScript" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns an appropriately localized display name for script of the input locale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="in_locale" optional="true" byreference="false" type="string"/>
</method>
<method name="getDisplayVariant" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns an appropriately localized display name for variants of the input locale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="in_locale" optional="true" byreference="false" type="string"/>
</method>
<method name="getKeywords" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Gets the keywords for the input locale">Object oriented style</description>
<return type="array"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
</method>
<method name="getPrimaryLanguage" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Gets the primary language for the input locale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
</method>
<method name="getRegion" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Gets the region for the input locale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
</method>
<method name="getScript" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Gets the script for the input locale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
</method>
<method name="lookup" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Searches the language tag list for the best match to the language">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="langtag" optional="false" byreference="false" type="object" class="array"/>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="canonicalize" optional="true" byreference="false" type="object" class="bool"/>
<parameter name="default" optional="true" byreference="false" type="string"/>
</method>
<method name="parseLocale" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns a key-value array of locale ID subtag elements">Object oriented style</description>
<return type="array"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
</method>
<method name="setDefault" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Sets the default runtime locale">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
</method>
</class>
|