Commit e5f76c44 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 56432118
......@@ -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)
......
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