1
0
mirror of synced 2025-02-21 22:53:15 +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;
}