public function getOutput()
    {
        $response = [];

        if(($this->returnValue))
        {
            $response['jxnrv'] = $this->returnValue;
        }
        $response['jxnobj'] = [];

        foreach($this->aCommands as $xCommand)
        {
            $response['jxnobj'][] = $xCommand;
        }

        return json_encode($response);
    }
public function getOutput()
    {
        $response = [];

        if(($this->returnValue))
        {
            $response['jxnrv'] = $this->returnValue;
        }
        $response['jxnobj'] = [];

        foreach($this->aCommands as $xCommand)
        {
            $response['jxnobj'][] = $xCommand;
        }

        return json_encode($response);
    }
public function getOutput ( ) { $ response = [ ] ; if ( ( $ this -> returnValue ) ) { $ response [ 'jxnrv' ] = $ this -> returnValue ; } $ response [ 'jxnobj' ] = [ ] ; foreach ( $ this -> aCommands as $ xCommand ) { $ response [ 'jxnobj' ] [ ] = $ xCommand ; } return json_encode ( $ response ) ; }
Return the output, generated from the commands added to the response, that will be sent to the browser

@return string
Return the output generated from the commands added to the response that will be sent to the browser