Load a collective functions of a module
The function file should be located in /modules/MODULE/functions.{$group}.php To avoid slowdown caused by include_once, a constant is suggested in the corresponding file: capitalized {$dirname}{functions}[{$group}]
The function is going to be formulated to use xos_kernel_Xoops2::loadService() in XOOPS 2.3+
Parameters | |||
---|---|---|---|
string
|
$group = '' |
name of the collective functions, empty for functions.php |
# |
string
|
$dirname = '' |
module dirname, optional |
# |
Returns | |
---|---|
bool
|