Commit e5f76c44 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 56432118
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment