diff options
author | xue <> | 2005-12-29 01:16:29 +0000 |
---|---|---|
committer | xue <> | 2005-12-29 01:16:29 +0000 |
commit | 7e0b0798997b197d57d09ef5e690afdb1e6a2712 (patch) | |
tree | 4b4b0901508713d49ddead72324ae60c8b56f1de /framework/core.php | |
parent | ccdb91a35602377fe389c6c5b0945478929e0eca (diff) |
Changed module init() method signature.
Diffstat (limited to 'framework/core.php')
-rw-r--r-- | framework/core.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/core.php b/framework/core.php index c864dbfa..5c9156e5 100644 --- a/framework/core.php +++ b/framework/core.php @@ -58,7 +58,7 @@ interface IModule * Initializes the module.
* @param TXmlElement the configuration for the module
*/
- public function init($configuration=null);
+ public function init($config);
/**
* @return string ID of the module
*/
@@ -85,7 +85,7 @@ interface IService * Initializes the service.
* @param TXmlElement the configuration for the service
*/
- public function init($configuration=null);
+ public function init($config);
/**
* @return string ID of the service
*/
@@ -332,7 +332,7 @@ abstract class TModule extends TComponent implements IModule * This method is required by IModule and is invoked by application.
* @param TXmlElement module configuration
*/
- public function init($config=null)
+ public function init($config)
{
}
@@ -376,7 +376,7 @@ abstract class TService extends TComponent implements IService * This method is required by IService and is invoked by application.
* @param TXmlElement module configuration
*/
- public function init($config=null)
+ public function init($config)
{
}
|