[[@doctodo method_description:output]].

@return [[@doctodo return_type:output]] [[@doctodo return_description:output]]
164140
public function output()
    {
        if ($this->_output) {
            return;
        }
        if ($this->getFormat() === 'html') {
            $this->outputHtml();
        } else {
            $this->outputPlaintext();
        }
        $this->_output = true;
    }
72638
public function outputToBrowser()
    {
        $output = parent::outputToBrowser();
        $response = Controller::curr()->getResponse();
        $response->addHeader("Content-Type", "application/atom+xml");

        return $output;
    }
446182
public function getRoundDescriptions()
    {
        $this->_ensureRounds();

        $output = array();
        foreach ($this->getRounds() as $roundId => $round) {
            if ($round instanceof Round) {
                $output[$roundId] = $round->getFullDescription();
            }
        }

        return $output;
    }
1161091
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);
    }
7525
def get_output(pType)
      pType.downcase!

      return XMLOutputFormat.new if pType == 'xml'
      raise Error::ParserError if pType == 'yml'
    end
444645
def GetOutputClasses(cls):
    
    for _, output_class in iter(cls._output_classes.items()):
      yield output_class.NAME, output_class
1280024
public function output() : Bucket\BucketAutoOutput
    {
        if (! $this->output) {
            $this->output = new Bucket\BucketAutoOutput($this->builder, $this);
        }

        assert($this->output instanceof Bucket\BucketAutoOutput);
        return $this->output;
    }
18438
public function toString()
    {
        $output = [];
        $output[] = '<table' . $this->renderAttributes($this->getTableAttributes()) . '>';

        if (count($this->specialRows['header'])) {
            $output[] = $this->renderArea($this->specialRows['header'], 'thead', 'th');
        }

        $ids = array_diff(
            array_keys($this->rows),
            array_merge($this->specialRows['header'], $this->specialRows['footer'])
        );

        if (count($ids)) {
            $output[] = $this->renderArea($ids);
        }

        if (count($this->specialRows['footer'])) {
            $output[] = $this->renderArea($this->specialRows['footer'], 'tfoot');
        }

        $output[] = '</table>';

        return implode('', $output);
    }
391455
public function xmlOutput() {
        $o = '';
        $o.= '        <KEY NAME="' . $this->name . '"';
        $o.= ' TYPE="' . $this->getXMLDBKeyName($this->type) . '"';
        $o.= ' FIELDS="' . implode(', ', $this->fields) . '"';
        if ($this->type == XMLDB_KEY_FOREIGN ||
            $this->type == XMLDB_KEY_FOREIGN_UNIQUE) {
            $o.= ' REFTABLE="' . $this->reftable . '"';
            $o.= ' REFFIELDS="' . implode(', ', $this->reffields) . '"';
        }
        if ($this->comment) {
            $o.= ' COMMENT="' . htmlspecialchars($this->comment) . '"';
        }
        $o.= '/>' . "\n";

        return $o;
    }
76006
public function get_output() : string {
		$output = ( false !== $this->args['cache'] ) ? $this->get_cache() : '';

		if ( $output ) {
			return $output;
		}

		ob_start();
		if ( $this->has_template() ) {
			$this->load_template( $this->locate_template() );
		}
		$output = ob_get_clean();

		if ( false !== $this->args['cache'] ) {
			$this->set_cache( $output );
		}

		return $output;

	}
24956
public function getOutput() {
		// create stream handle for the output
		$handle = fopen('php://temp/maxmemory:'.(1*1024*1024), 'r+'); // 1MB

		fwrite($handle, '<?xml version="1.0"?>');
		
		// count subkeys. if there is more than one we have to generate an auto container
		// we have to take care of attributes
		$count = 0;
		foreach ($this->_content['content'] as $key => $item) {
			if ($key{0} != ':') $count++;
		}
		
		if ($count != 1) $this->_content['content'] = ['auto-container' => $this->_content['content']];
		fwrite($handle, $this -> _outputXML($this->_content['content']));
		return $handle;
	}
125229
public function outputElement() : string
    {
        $this->selected = $this->getValue();
        $atts = [];
        foreach ($this->attributes as $name => $value) {
            $atts[] = $name . '="' . $value . '"';
        }
        $return = '<select ' . implode(' ', $atts) . '>' . "\n";
        if ($this->addBlank) {
            $disabled = (in_array('', $this->disabled)) ? ' disabled="disabled"' : '';
            $selected = ($this->selected == '') ? ' selected="selected"' : '';
            $return .= '<option value=""' . $disabled . $selected . '></option>' . "\n";
        }
        foreach ($this->options as $val=>$txt) {
            if (in_array($val, $this->hidden)) break;
            $disabled = (in_array($val, $this->disabled)) ? ' disabled="disabled"' : '';
            $selected = ($this->selected == $val) ? ' selected="selected"' : '';
            $return .= '<option value="' . $val . '"' . $disabled . $selected . '>' . $txt . '</option>' . "\n";
        }
        $return .= '</select>';
        return $return;
    }
511826
protected function generateOutput()
    {
        $output = '';

        foreach ($this->messageList as $message) {
            $flashMessage = GeneralUtility::makeInstance(
                'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
                $message[2],
                $message[1],
                $message[0]
            );
            $output .= $flashMessage->render();
        }

        return $output;
    }
243256
public function output($type = 'array')
    {
        $debug = Arrays\RemoveElement::first($this->debug, 2);
        $debug = array_merge([(array) $this->current()], $debug);

        if( is_numeric($type) )
        {
            return (object) ( $debug[$type] ?? $this->_default() );
        }
        elseif( $type === 'array' )
        {
            return $debug;
        }
        elseif( $type === 'string' )
        {
            return output($debug, [], true);
        }
        else
        {
            return $this->_default();
        }
    }
1128027
public function output_html() {
        global $OUTPUT;

        $activetab = optional_param('activetab', '', PARAM_TEXT);
        $context = array('tabs' => array());
        $havesetactive = false;

        foreach ($this->get_tabs() as $tab) {
            $active = false;

            // Default to first tab it not told otherwise.
            if (empty($activetab) && !$havesetactive) {
                $active = true;
                $havesetactive = true;
            } else if ($activetab === $tab->name) {
                $active = true;
            }

            $context['tabs'][] = array(
                'name' => $tab->name,
                'displayname' => $tab->visiblename,
                'html' => $tab->output_html(),
                'active' => $active,
            );
        }

        if (empty($context['tabs'])) {
            return '';
        }

        return $OUTPUT->render_from_template('theme_boost/admin_setting_tabs', $context);
    }
994322
def _show_outputs(self):
        
        outs = self._get_outputs()
        print("\n\n" + '=> Terraform Outputs:')
        for k in sorted(outs):
            print('%s = %s' % (k, outs[k]))
1354120
public function outputProcess()
    {
        // remove doctype.
        $this->output['raw'] = preg_replace(
                '/^<!DOCTYPE[^>]+>/U', '', $this->output['raw']
        );

        if ($this->outputProcess && $this->getOption('process')) {

            // Remove doctype added by DOMDocument (hacky)
            $this->output['raw'] = $this->getDoctype() . $this->output['raw'];

            /**
             * Process img, br, hr, tags, change html to xhtml.
             * 
             * <img> <img src=""> <img src="/image.png">
             * Are changed to xhtml
             * <img /> <img src="" /> <img src="/image.png" />
             */
            if ($this->getOption('process.body.image')) {
                $this->output['raw'] = preg_replace(
                        '/<img(.*)>/sU', '<img\\1 />', $this->output['raw']
                );
            }

            if ($this->getOption('process.body.br')) {
                $this->output['raw'] = preg_replace(
                        '/<br(.*)>/sU', '<br\\1 />', $this->output['raw']
                );
            }

            if ($this->getOption('process.body.hr')) {
                $this->output['raw'] = preg_replace(
                        '/<hr(.*)>/sU', '<hr\\1 />', $this->output['raw']
                );
            }

            // Trim whitespace need this to get exactly the wanted data back for test cases, mmm.
            $this->output['raw'] = trim($this->output['raw']);

            return $this->outputProcess;
        }
        return $this->outputProcess;
    }