1
0
mirror of synced 2025-02-22 23:23:14 +03:00
This commit is contained in:
zYne 2007-11-01 22:58:10 +00:00
parent 56432118c9
commit e5f76c44bb

View File

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