html.inc

Classes

Namesort descending Description
drush_outputformat_html Output formatter 'html' *

File

commands/core/outputformat/html.inc
View source
  1. <?php
  2. /**
  3. * Output formatter 'html'
  4. *
  5. * @param $data
  6. *
  7. * @param $metadata
  8. * '' -
  9. * '' -
  10. */
  11. class drush_outputformat_html extends drush_outputformat {
  12. function format($input, $metadata) {
  13. $input = drush_help_visible($input);
  14. $global_options_command = drush_global_options_command(TRUE);
  15. $global_options_rows = drush_format_help_section($global_options_command, 'options');
  16. ob_start();
  17. require_once __DIR__ . '/html.tpl.php';
  18. $return = ob_get_clean();
  19. return $return;
  20. }
  21. }