public function getQuery($index = false)
    {
        return ($index) ? array_value($this->query, $index) : $this->query;
    }
public function getQuery($index = false)
    {
        return ($index) ? array_value($this->query, $index) : $this->query;
    }
public function getQuery ( $ index = false ) { return ( $ index ) ? array_value ( $ this -> query , $ index ) : $ this -> query ; }
Gets one or all query parameters.

@param string $index

@return mixed
Gets one or all query parameters .