I18N
[ class tree: I18N ] [ index: I18N ] [ all elements ]

Source for file Common.php

Documentation is available at 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 I18N_Common()
  47.     {
  48.         parent::PEAR();
  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.     }
  65.  
  66.     // }}}
  67.     // {{{ destructor
  68.    
  69.     /**
  70.      * It does nothing now
  71.      *
  72.      * @access: private
  73.      * @return: void
  74.      */
  75.     function _I18N_Common()
  76.     {
  77.     }
  78.  
  79.     // }}}
  80.     // {{{ getAllCodes()
  81.    
  82.     /**
  83.      * Return all the codes. Used by child classes.
  84.      *
  85.      * @return: array
  86.      * @access: public
  87.      */
  88.     function getAllCodes()
  89.     {
  90.         return $this->_codes;
  91.     }
  92.  
  93.     // }}}
  94. }
  95. ?>

Documentation generated on Mon, 11 Mar 2019 15:36:10 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.