From 7e0b0798997b197d57d09ef5e690afdb1e6a2712 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 29 Dec 2005 01:16:29 +0000 Subject: Changed module init() method signature. --- framework/core.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/core.php') 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) { } -- cgit v1.2.3