Function __global->load_comcode_page

Definitions

sources/site.php

  • Get the parsed contents of a Comcode page.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$string PATH required parameter N/A N/A The relative (to the software's base directory) path to the page (e.g. pages/comcode/EN/example.txt)
$zone ID_TEXT required parameter N/A N/A The zone the page is being loaded from
$codename ID_TEXT required parameter N/A N/A The codename of the page
$file_base ?PATH Null N/A N/A The file base to load from (null: standard)
$being_included boolean False N/A N/A Whether the page is being included from another

Return

  • The page
  • Type: Tempcode
  • Set: N/A
  • Range: N/A