private function getArgsFromParam($params, $exclude = array())
    {
        $pairs = array();

        foreach ($params as $name => $value) {
            if (in_array($name, $exclude)) {
                continue;
            }

            $pairs[$name] = $value;
        }

        return $pairs;
    }
private function getArgsFromParam($params, $exclude = array())
    {
        $pairs = array();

        foreach ($params as $name => $value) {
            if (in_array($name, $exclude)) {
                continue;
            }

            $pairs[$name] = $value;
        }

        return $pairs;
    }
private function getArgsFromParam ( $ params , $ exclude = array ( ) ) { $ pairs = array ( ) ; foreach ( $ params as $ name => $ value ) { if ( in_array ( $ name , $ exclude ) ) { continue ; } $ pairs [ $ name ] = $ value ; } return $ pairs ; }
Get URL parameters array from parameters.

@param array $params Smarty function params
@param array $exclude Smarty function exclude params
@return array the parameters array (either emply, of valued)
Get URL parameters array from parameters .