Function Virtual_shell->output_html

Definitions

sources/commandr.php

  • Return the HTML rendering of the parsed command's output.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$blank_ok boolean No No False N/A N/A Whether it is okay to have blank output

Returns

  • The HTML (false: error)
  • Type: ~Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Return the HTML rendering of the parsed command's output.
 *
 * @param  boolean $blank_ok Whether it is okay to have blank output
 * @return ~Tempcode The HTML (false: error)
 */

public function output_html(bool $blank_ok = false)