Function __global->semihtml_to_comcode

Definitions

sources/comcode_from_html.php

  • Convert Semi-HTML into Comcode. Cleanup where possible.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$semihtml LONG_TEXT required parameter N/A N/A The Semi-HTML to be converted
$force boolean False N/A N/A Whether to force full conversion regardless of settings
$quick boolean False N/A N/A Whether to trust the HTML is valid rather than cleaning it up (e.g. for software-generated HTML)
$member_id ?MEMBER Null N/A N/A Member to do as (null: current member)

Return

  • The equivalent Comcode
  • Type: LONG_TEXT
  • Set: N/A
  • Range: N/A