◆ __construct()
__construct |
( |
|
$dirname = null | ) |
|
Instantiate a XoopsModule object for the helper to use. The module is determined as follows:
- if null is passed, use the current module
- if a string is passed, use as dirname to load
- Paramètres
-
string | null | $dirname | dirname |
◆ addLog()
Add a message to the module log
- Paramètres
-
mixed | $log | log item, can be message or variable |
- Renvoie
- void
◆ dirname()
Return the dirname for this helper
- Renvoie
- string|null a dirname
◆ init()
init() is called once/if __construct has a module object. $this->module will have a module object that any further initialization can use.
- Renvoie
- void
Réimplémentée dans GenericHelper, Permission, Cache, et Session.
◆ serializeForHelperLog()
serializeForHelperLog |
( |
|
$value | ) |
|
|
protected |
Serialize an arbitrary value to string. Intended for data being addLog()ed
- Paramètres
-
- Renvoie
- string
◆ setDebug()
Set debug option on or off
- Paramètres
-
bool | $bool | true to turn on debug logging, false for off |
- Renvoie
- void
◆ $debug
◆ $dirname
◆ $module
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/xoops/xmf/src/Module/Helper/AbstractHelper.php