Function __global->_load_comcode_page_not_cached

Definitions

sources/site2.php

  • Load Comcode page from disk, then cache it.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

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 required parameter N/A N/A The file base to load from
$comcode_page_row ?array required parameter N/A N/A Row from database (holds submitter etc) (null: no row, originated first from disk)
$new_comcode_page_row array required parameter N/A N/A New row for database, used if necessary (holds submitter etc)
$being_included boolean False N/A N/A Whether the page is being included from another

Return

  • A tuple: The page HTML (as Tempcode), New Comcode page row, Title, Raw Comcode
  • Type: array
  • Set: N/A
  • Range: N/A