public function query($name, $val = null) {
        return isset($this->_queries[$name]) ?
                    $this->_queries[$name] :
                    $val;
    }
public function query($name, $val = null) {
        return isset($this->_queries[$name]) ?
                    $this->_queries[$name] :
                    $val;
    }
public function query ( $ name , $ val = null ) { return isset ( $ this -> _queries [ $ name ] ) ? $ this -> _queries [ $ name ] : $ val ; }
Get query string from url

@access  public
@param   string  $name   Input name
@param   string  $val    Default value if query doesn't exists
@return  mixed
Get query string from url