Global Functions in 13 and Higher
Global Functions
These functions can be used throughout FreePBX to obtain relevant data. Click below to see more about each function:
Load all Function.inc.php files from modules that are active and/or are licensed
Load all old function.inc.php files into memory. Can be used in strictly BMO functions
FreePBX::Modules()->loadAllFunctionsInc(); |
Load single Function.inc.php file from module that is active and/or is licensed
Load old function.inc.php file into memory. Can be used in strictly BMO functions
FreePBX::Modules()->loadFunctionsInc('modulerawname');
FreePBX::Modules()->loadFunctionsInc('core'); |