Function __global->comcode_page_hints_ui

Definitions

sources/comcode_cleanup.php

  • Take Comcode page-hint comments out of some Comcode, preparing a UI instead.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$name string No No required parameter N/A N/A Input field name
&$post string Yes No required parameter N/A N/A The Comcode

Returns

  • A list of template-ready maps specifying checkboxes
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Take Comcode page-hint comments out of some Comcode, preparing a UI instead.
 *
 * @param  string $name Input field name
 * @param  string $post The Comcode
 * @return array A list of template-ready maps specifying checkboxes
 */

function comcode_page_hints_ui(string $name, string &$post) : array