Returns an array of function names in a file.


  • Full name: get_functions
  • Defined in: cms/core/Shared/Helpers/core.php

Parameters

Parameter Type Description
$filename string The path to the file.
$sort bool If true, sort results by function name.

Return Value

array