[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/ -> TModule.php (source)

   1  <?php
   2  /**
   3   * TModule class file.
   4   *
   5   * @author Qiang Xue <qiang.xue@gmail.com>
   6   * @link http://www.pradosoft.com/
   7   * @copyright Copyright &copy; 2005 PradoSoft
   8   * @license http://www.pradosoft.com/license/
   9   * @version $Id: TModule.php 1397 2006-09-07 07:55:53Z wei $
  10   * @package System
  11   */
  12  
  13  /**
  14   * TModule class.
  15   *
  16   * TModule implements the basic methods required by IModule and may be
  17   * used as the basic class for application modules.
  18   *
  19   * @author Qiang Xue <qiang.xue@gmail.com>
  20   * @version $Id: TModule.php 1397 2006-09-07 07:55:53Z wei $
  21   * @package System
  22   * @since 3.0
  23   */
  24  abstract class TModule extends TApplicationComponent implements IModule
  25  {
  26      /**
  27       * @var string module id
  28       */
  29      private $_id;
  30  
  31      /**
  32       * Initializes the module.
  33       * This method is required by IModule and is invoked by application.
  34       * @param TXmlElement module configuration
  35       */
  36  	public function init($config)
  37      {
  38      }
  39  
  40      /**
  41       * @return string id of this module
  42       */
  43  	public function getID()
  44      {
  45          return $this->_id;
  46      }
  47  
  48      /**
  49       * @param string id of this module
  50       */
  51  	public function setID($value)
  52      {
  53          $this->_id=$value;
  54      }
  55  }
  56  
  57  ?>


Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7