public function getNormalizedParam($params, $name, $default = null)
    {
        $value = $this->getParam($params, $name, $default);

        if (is_string($value)) {
            $value = strtolower(trim($value));
        }
        return $value;
    }
public function getNormalizedParam($params, $name, $default = null)
    {
        $value = $this->getParam($params, $name, $default);

        if (is_string($value)) {
            $value = strtolower(trim($value));
        }
        return $value;
    }
public function getNormalizedParam ( $ params , $ name , $ default = null ) { $ value = $ this -> getParam ( $ params , $ name , $ default ) ; if ( is_string ( $ value ) ) { $ value = strtolower ( trim ( $ value ) ) ; } return $ value ; }
Get a function or block parameter value, and normalize it, trimming balnks and
making it lowercase

@param  array $params  the parameters array
@param  mixed $name    as single parameter name, or an array of names. In this case, the first defined parameter is returned. Use this for aliases (context, ctx, c)
@param  mixed $default the defaut value if parameter is missing (default to null)
@return mixed the parameter value, or the default value if it is not found.
Get a function or block parameter value and normalize it trimming balnks and making it lowercase