Function __global->load_news_cat_rows

Definitions

sources/news.php

  • Load up some news category rows. We do this here because these are consumed in many areas of the software so need some run-time caching.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$sql string required parameter N/A N/A SQL defining what rows to load

Return

  • List of all rows cached (not just the ones loaded now)
  • Type: array
  • Set: N/A
  • Range: N/A