35 if (
$xoops->isActiveModule($dirname)) {
38 $className =
'\\' . ucfirst($dirname);
39 if (class_exists($className)) {
40 $class =
new $className();
41 if ($class instanceof \
Xoops\Module\
Helper\HelperAbstract) {
47 $xoops->registry()->set(
'module_helper_id', $dirname);
48 $class = \Xoops\Module\Helper\Dummy::getInstance();
49 $class->setDirname($dirname);
static getHelper($dirname= 'system')
static loadFile($file, $once=true)