fix image text
[pear] / I18N / Common.php
1 <?php
2 /* vim: set expandtab tabstop=4 shiftwidth=4: */
3 // +----------------------------------------------------------------------+
4 // | PHP version 4.0                                                      |
5 // +----------------------------------------------------------------------+
6 // | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003 The PHP Group       |
7 // +----------------------------------------------------------------------+
8 // | This source file is subject to version 2.0 of the PHP license,       |
9 // | that is bundled with this package in the file LICENSE, and is        |
10 // | available at through the world-wide-web at                           |
11 // | http://www.php.net/license/2_02.txt.                                 |
12 // | If you did not receive a copy of the PHP license and are unable to   |
13 // | obtain it through the world-wide-web, please send a note to          |
14 // | license@php.net so we can mail you a copy immediately.               |
15 // +----------------------------------------------------------------------+
16 // | Authors: Naoki Shima <murahachibu@php.net>                           |
17 // |                                                                      |
18 // +----------------------------------------------------------------------+//
19 // $Id: Common.php 112735 2003-01-19 20:02:50Z cain $
20
21 require_once('PEAR.php');
22
23 /**
24 *
25 *   @package    I18N
26 *
27 */
28 class I18N_Common extends PEAR {
29
30     // {{{ properties
31     /**
32      * @type  : array
33      * @access: private
34      */
35     var $_codes;
36
37     // }}}
38     // {{{ constructor
39    
40     /**
41      * Call parent::PEAR() for destuctor to be called, and initialize vars
42      *
43      * @return: void
44      * @access: public
45      */
46     function __construct()
47     {
48         parent::__construct();
49         $this->_codes = array();
50     }
51
52     // }}}
53     // {{{ _constructor()
54    
55     /**
56      * Dummy constructor
57      *
58      * @access: private
59      * @return: void
60      */
61     function _constructor()
62     {
63         //$this->I18N_Common();
64         parent::__construct();
65         $this->_codes = array();
66     }
67
68     // }}}
69     // {{{ destructor
70    
71     /**
72      * It does nothing now
73      *
74      * @access: private
75      * @return: void
76      */
77     function _I18N_Common()
78     {
79     }
80
81     // }}}
82     // {{{ getAllCodes()
83    
84     /**
85      * Return all the codes. Used by child classes.
86      *
87      * @return: array
88      * @access: public
89      */
90     function getAllCodes()
91     {
92         return $this->_codes;
93     }
94
95     // }}}
96 }
97 ?>