From cb9ad614fe9e811a1565878ffbfb37803fa30486 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 11 Nov 2005 21:03:34 +0000 Subject: Changed getPropertyByPath and setPropertyByPath to getSubProperty and setSubProperty, respectively. --- framework/TApplication.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/TApplication.php') diff --git a/framework/TApplication.php b/framework/TApplication.php index 973032e5..55c1df6c 100644 --- a/framework/TApplication.php +++ b/framework/TApplication.php @@ -362,7 +362,7 @@ class TApplication extends TComponent implements IApplication // set application properties foreach($config->getProperties() as $name=>$value) - $this->setPropertyByPath($name,$value); + $this->setSubProperty($name,$value); // load parameters $this->_parameters=new TMap; @@ -374,7 +374,7 @@ class TApplication extends TComponent implements IApplication { $component=Prado::createComponent($parameter[0]); foreach($parameter[1] as $name=>$value) - $component->setPropertyByPath($name,$value); + $component->setSubProperty($name,$value); $this->_parameters->add($id,$component); } } @@ -390,7 +390,7 @@ class TApplication extends TComponent implements IApplication throw new TConfigurationException('application_module_invalid',$id,self::$_moduleTypes[$id]); $this->_modules[$id]=$module; foreach($moduleConfig[1] as $name=>$value) - $module->setPropertyByPath($name,$value); + $module->setSubProperty($name,$value); $module->init($this,$moduleConfig[2]); } @@ -403,7 +403,7 @@ class TApplication extends TComponent implements IApplication throw new TConfigurationException('application_service_invalid',$serviceID); $this->_service=$service; foreach($serviceConfig[1] as $name=>$value) - $service->setPropertyByPath($name,$value); + $service->setSubProperty($name,$value); $service->init($this,$serviceConfig[2]); $this->attachEventHandler('RunService',array($service,'run')); } -- cgit v1.2.3