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
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="NumberFormatter" namespace="" name="NumberFormatter">
<constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Create a number formatter">Object oriented style (method)</description>
<return type="void"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="style" optional="false" byreference="false" type="int"/>
<parameter name="pattern" optional="true" byreference="false" type="string"/>
</constructor>
<method name="create" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Create a number formatter">Object oriented style (method)</description>
<return type="NumberFormatter"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="style" optional="false" byreference="false" type="int"/>
<parameter name="pattern" optional="true" byreference="false" type="string"/>
</method>
<method name="formatCurrency" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Format a currency value">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="value" optional="false" byreference="false" type="object" class="float"/>
<parameter name="currency" optional="false" byreference="false" type="string"/>
</method>
<method name="format" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Format a number">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="value" optional="false" byreference="false" type="object" class="number"/>
<parameter name="type" optional="true" byreference="false" type="int"/>
</method>
<method name="getAttribute" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get an attribute">Object oriented style</description>
<return type="int"/>
</docblock>
<parameter name="attr" optional="false" byreference="false" type="int"/>
</method>
<method name="getErrorCode" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get formatter's last error code">Object oriented style</description>
<return type="int"/>
</docblock>
</method>
<method name="getErrorMessage" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get formatter's last error message">Object oriented style</description>
<return type="string"/>
</docblock>
</method>
<method name="getLocale" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get formatter locale">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="type" optional="true" byreference="false" type="int"/>
</method>
<method name="getPattern" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get formatter pattern">Object oriented style</description>
<return type="string"/>
</docblock>
</method>
<method name="getSymbol" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get a symbol value">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="attr" optional="false" byreference="false" type="int"/>
</method>
<method name="getTextAttribute" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get a text attribute">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="attr" optional="false" byreference="false" type="int"/>
</method>
<method name="parseCurrency" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Parse a currency number">Object oriented style</description>
<return type="float"/>
</docblock>
<parameter name="value" optional="false" byreference="false" type="string"/>
<parameter name="currency" optional="false" byreference="false" type="string"/>
<parameter name="position" optional="true" byreference="false" type="int"/>
</method>
<method name="parse" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Parse a number">Object oriented style</description>
<return type="mixed"/>
</docblock>
<parameter name="value" optional="false" byreference="false" type="string"/>
<parameter name="type" optional="true" byreference="false" type="int"/>
<parameter name="position" optional="true" byreference="false" type="int"/>
</method>
<method name="setAttribute" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Set an attribute">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="attr" optional="false" byreference="false" type="int"/>
<parameter name="value" optional="false" byreference="false" type="int"/>
</method>
<method name="setPattern" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Set formatter pattern">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="pattern" optional="false" byreference="false" type="string"/>
</method>
<method name="setSymbol" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Set a symbol value">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="attr" optional="false" byreference="false" type="int"/>
<parameter name="value" optional="false" byreference="false" type="string"/>
</method>
<method name="setTextAttribute" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Set a text attribute">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="attr" optional="false" byreference="false" type="int"/>
<parameter name="value" optional="false" byreference="false" type="string"/>
</method>
</class>
|