public function getParam($name, $default = null)
    {
        $params = $this->_context->params;
        return isset($params[$name]) ? $params[$name] : $default;
    }
public function getParam($name, $default = null)
    {
        $params = $this->_context->params;
        return isset($params[$name]) ? $params[$name] : $default;
    }
public function getParam ( $ name , $ default = null ) { $ params = $ this -> _context -> params ; return isset ( $ params [ $ name ] ) ? $ params [ $ name ] : $ default ; }
Gets a param by its name or numeric index

@param string|int $name
@param mixed     default

@return mixed
Gets a param by its name or numeric index