Function mod_loadFunctions
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+
Package: Frameworks\art
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Located at rameworks/art/functions.ini.php
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Located at rameworks/art/functions.ini.php
string |
$group = '' |
name of the collective functions, empty for functions.php |
string |
$dirname = '' |
module dirname, optional |
boolean
|
bool |