5 * @author Qiang Xue <qiang.xue@gmail.com>
6 * @link http://www.pradosoft.com/
7 * @copyright Copyright © 2005-2014 PradoSoft
8 * @license http://www.pradosoft.com/license/
15 * TModule implements the basic methods required by IModule and may be
16 * used as the basic class for application modules.
18 * @author Qiang Xue <qiang.xue@gmail.com>
22 abstract class TModule extends TApplicationComponent implements IModule
25 * @var string module id
30 * Initializes the module.
31 * This method is required by IModule and is invoked by application.
32 * @param TXmlElement module configuration
34 public function init($config)
39 * @return string id of this module
41 public function getID()
47 * @param string id of this module
49 public function setID($value)