protected function getQuery() {
        $query = '';

        foreach ($this->config['args'] as $index => $arg) {
            if (array_key_exists('command', $this->config) &&
                $arg === $this->config['command'] &&
                array_key_exists(($index + 1), $this->config['args'])) {
                $query = $this->config['args'][$index + 1];
                break;
            }
        }

        return $query;
    }
protected function getQuery() {
        $query = '';

        foreach ($this->config['args'] as $index => $arg) {
            if (array_key_exists('command', $this->config) &&
                $arg === $this->config['command'] &&
                array_key_exists(($index + 1), $this->config['args'])) {
                $query = $this->config['args'][$index + 1];
                break;
            }
        }

        return $query;
    }
protected function getQuery ( ) { $ query = '' ; foreach ( $ this -> config [ 'args' ] as $ index => $ arg ) { if ( array_key_exists ( 'command' , $ this -> config ) && $ arg === $ this -> config [ 'command' ] && array_key_exists ( ( $ index + 1 ) , $ this -> config [ 'args' ] ) ) { $ query = $ this -> config [ 'args' ] [ $ index + 1 ] ; break ; } } return $ query ; }
Looks for a query from given arguments

@return string

@deprecated Use $this->config['arguments'][0] instead!
Looks for a query from given arguments