XOOPS
2.6.0
|
Public Member Functions | |
__construct ($module=null) | |
addLog ($log) | |
init () | |
setDebug ($bool=true) | |
Protected Attributes | |
$debug | |
$module | |
Definition at line 31 of file AbstractHelper.php.
Xmf\Module\Helper\AbstractHelper::__construct | ( | $module = null | ) |
Instantiate a XoopsModule object for the helper to use. This occurs in one of three ways
mixed | $module | string dirname | object XoopsModule |
Definition at line 52 of file AbstractHelper.php.
References $GLOBALS, $helper, Xmf\Module\Helper\AbstractHelper\$module, $xoops, Xmf\Module\Helper\getHelper(), Xoops\getInstance(), and Xmf\Module\Helper\AbstractHelper\init().
Xmf\Module\Helper\AbstractHelper::addLog | ( | $log | ) |
Add a message to the module log
string | $log | log message |
Definition at line 112 of file AbstractHelper.php.
References Xoops\getInstance().
|
abstract |
init() is called once/if __construct has a module object. $this->module will have a module object that any further initialization can use.
Referenced by Xmf\Module\Helper\AbstractHelper\__construct().
Xmf\Module\Helper\AbstractHelper::setDebug | ( | $bool = true | ) |
Set debug option on or off
bool | $bool | true to turn on debug logging, false for off |
Definition at line 100 of file AbstractHelper.php.
|
protected |
Definition at line 41 of file AbstractHelper.php.
|
protected |
Definition at line 36 of file AbstractHelper.php.
Referenced by Xmf\Module\Helper\AbstractHelper\__construct().