1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00
This commit is contained in:
zYne 2007-11-01 22:58:10 +00:00
parent 56432118c9
commit e5f76c44bb

View file

@ -149,9 +149,16 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
} }
public function getParams() public function getParams($namespace = null)
{ {
return $his->_params; if (isset($namespace)) {
if ( ! isset($this->_params[$namespace])) {
return null;
}
return $this->_params[$namespace];
}
return $his->_params;
} }
public function setParam($name, $value, $namespace = null) public function setParam($name, $value, $namespace = null)