File: ResourceBundle.xml

package info (click to toggle)
phpdox 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,672 kB
  • sloc: xml: 80,724; php: 9,167; makefile: 13
file content (54 lines) | stat: -rw-r--r-- 2,801 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="ResourceBundle" namespace="" name="ResourceBundle">
  <constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Create a resource bundle">Object oriented style (method)</description>
      <return type="void"/>
    </docblock>
    <parameter name="locale" optional="false" byreference="false" type="string"/>
    <parameter name="bundlename" optional="false" byreference="false" type="string"/>
    <parameter name="fallback" optional="true" byreference="false" type="object" class="bool"/>
  </constructor>
  <method name="count" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Get number of elements in the bundle">Object oriented style</description>
      <return type="int"/>
    </docblock>
  </method>
  <method name="create" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Create a resource bundle">Object oriented style (method)</description>
      <return type="ResourceBundle"/>
    </docblock>
    <parameter name="locale" optional="false" byreference="false" type="string"/>
    <parameter name="bundlename" optional="false" byreference="false" type="string"/>
    <parameter name="fallback" optional="true" byreference="false" type="object" class="bool"/>
  </method>
  <method name="getErrorCode" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Get bundle'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 bundle's last error message">Object oriented style</description>
      <return type="string"/>
    </docblock>
  </method>
  <method name="get" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Get data from the bundle">Object oriented style</description>
      <return type="mixed"/>
    </docblock>
    <parameter name="index" optional="false" byreference="false" type="object" class="string|int"/>
    <parameter name="fallback" optional="true" byreference="false" type="object" class="bool"/>
  </method>
  <method name="getLocales" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Get supported locales">Object oriented style</description>
      <return type="array"/>
    </docblock>
    <parameter name="bundlename" optional="false" byreference="false" type="string"/>
  </method>
</class>