XOOPS
2.6.0
|
Public Member Functions | |
disableCache () | |
getConfig ($name) | |
getConfigs () | |
getForm ($obj, $name) | |
getHandler ($name) | |
getModule () | |
init () | |
isCurrentModule () | |
isUserAdmin () | |
loadLanguage ($language) | |
loadLocale () | |
path ($path= '') | |
redirect ($url, $time=3, $message= '', $addredirect=true, $allowExternalLink=false) | |
url ($url= '') | |
xoops () | |
Static Public Member Functions | |
static | getInstance () |
Protected Member Functions | |
_addLog ($log) | |
setDebug ($debug) | |
setDirname ($dirname) | |
Protected Attributes | |
$_debug = false | |
$_dirname = '' | |
$_module = null | |
Private Member Functions | |
_initModule () | |
Definition at line 21 of file HelperAbstract.php.
|
protected |
string | $log |
Definition at line 254 of file HelperAbstract.php.
References Xoops\Module\Helper\HelperAbstract\getModule(), and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Xoops\Module\Helper\HelperAbstract\_initModule(), Xoops\Module\Helper\Dummy\addLog(), Xoops\Module\Helper\HelperAbstract\disableCache(), Xoops\Module\Helper\HelperAbstract\getConfig(), Xoops\Module\Helper\HelperAbstract\getConfigs(), Xoops\Module\Helper\HelperAbstract\getForm(), Xoops\Module\Helper\HelperAbstract\getHandler(), Xoops\Module\Helper\HelperAbstract\loadLanguage(), and Xoops\Module\Helper\HelperAbstract\loadLocale().
|
private |
Initialize module
Definition at line 238 of file HelperAbstract.php.
References Xoops\Module\Helper\HelperAbstract\_addLog(), Xoops\Module\Helper\HelperAbstract\isCurrentModule(), and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Xoops\Module\Helper\HelperAbstract\getModule().
Xoops\Module\Helper\HelperAbstract::disableCache | ( | ) |
Definition at line 130 of file HelperAbstract.php.
References Xoops\Module\Helper\HelperAbstract\_addLog(), Xoops\Module\Helper\HelperAbstract\getModule(), and Xoops\Module\Helper\HelperAbstract\xoops().
Xoops\Module\Helper\HelperAbstract::getConfig | ( | $name | ) |
string | $name |
Definition at line 98 of file HelperAbstract.php.
References $name, $result, Xoops\Module\Helper\HelperAbstract\_addLog(), and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Thumbs\buildThumbPath(), and Comments\getUserConfig().
Xoops\Module\Helper\HelperAbstract::getConfigs | ( | ) |
getConfigs
Definition at line 111 of file HelperAbstract.php.
References $result, Xoops\Module\Helper\HelperAbstract\_addLog(), and Xoops\Module\Helper\HelperAbstract\xoops().
Xoops\Module\Helper\HelperAbstract::getForm | ( | $obj, | |
$name | |||
) |
null | XoopsObject | $obj | |
string | $name |
Definition at line 228 of file HelperAbstract.php.
References $name, Xoops\Module\Helper\HelperAbstract\_addLog(), and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Comments\displayCommentForm().
Xoops\Module\Helper\HelperAbstract::getHandler | ( | $name | ) |
string | $name |
Definition at line 123 of file HelperAbstract.php.
References $name, Xoops\Module\Helper\HelperAbstract\_addLog(), and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Avatars\getHandlerAvatar(), Images\getHandlerCategories(), Comments\getHandlerComment(), Userconfigs\getHandlerConfig(), Images\getHandlerImages(), Images\getHandlerImagesBody(), Userconfigs\getHandlerItem(), Menus\getHandlerMenu(), Menus\getHandlerMenus(), Notifications\getHandlerNotification(), Userconfigs\getHandlerOption(), Smilies\getHandlerSmilies(), and Avatars\getHandlerUserlink().
|
static |
Definition at line 61 of file HelperAbstract.php.
References $id, and Xoops\getInstance().
Referenced by b_search_show(), and SearchSearchForm\getSearchFrom().
Xoops\Module\Helper\HelperAbstract::getModule | ( | ) |
Definition at line 80 of file HelperAbstract.php.
References Xoops\Module\Helper\HelperAbstract\$_module, and Xoops\Module\Helper\HelperAbstract\_initModule().
Referenced by Xoops\Module\Helper\HelperAbstract\_addLog(), Xoops\Module\Helper\HelperAbstract\disableCache(), Comments\getUserConfig(), and Xoops\Module\Helper\HelperAbstract\isUserAdmin().
Xoops\Module\Helper\HelperAbstract::init | ( | ) |
Definition at line 38 of file HelperAbstract.php.
Xoops\Module\Helper\HelperAbstract::isCurrentModule | ( | ) |
Is this the currently active module?
Definition at line 141 of file HelperAbstract.php.
References moduleDirname, and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Xoops\Module\Helper\HelperAbstract\_initModule().
Xoops\Module\Helper\HelperAbstract::isUserAdmin | ( | ) |
Does user have admin rights to this module?
Definition at line 154 of file HelperAbstract.php.
References Xoops\Module\Helper\HelperAbstract\getModule(), Xoops\isUser(), and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Comments\renderView().
Xoops\Module\Helper\HelperAbstract::loadLanguage | ( | $language | ) |
string | $language |
Definition at line 210 of file HelperAbstract.php.
References $language, Xoops\Module\Helper\HelperAbstract\_addLog(), and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Comments\init().
Xoops\Module\Helper\HelperAbstract::loadLocale | ( | ) |
Definition at line 216 of file HelperAbstract.php.
References Xoops\Module\Helper\HelperAbstract\_addLog(), and Xoops\Module\Helper\HelperAbstract\xoops().
Xoops\Module\Helper\HelperAbstract::path | ( | $path = '' | ) |
Return absolute filesystem path for a module relative path
string | $path |
Definition at line 181 of file HelperAbstract.php.
References $path, and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Menus\getSkinInfo().
Xoops\Module\Helper\HelperAbstract::redirect | ( | $url, | |
$time = 3 , |
|||
$message = '' , |
|||
$addredirect = true , |
|||
$allowExternalLink = false |
|||
) |
Redirect the user to a page within this module
TODO remove addredirect and allowExternalLink paramaters since they are pointless in this context.
$url | ||
int | $time | |
string | $message | |
bool | $addredirect | |
bool | $allowExternalLink |
Definition at line 200 of file HelperAbstract.php.
References $url, Xoops\Module\Helper\HelperAbstract\url(), and Xoops\Module\Helper\HelperAbstract\xoops().
|
protected |
bool | $debug |
Definition at line 53 of file HelperAbstract.php.
|
protected |
string | $dirname | dirname of the module |
Definition at line 45 of file HelperAbstract.php.
References $dirname.
Referenced by Avatars\init(), Menus\init(), Search\init(), Smilies\init(), Notifications\init(), Images\init(), Comments\init(), and Userconfigs\init().
Xoops\Module\Helper\HelperAbstract::url | ( | $url = '' | ) |
Return absolute URL for a module relative URL
string | $url |
Definition at line 169 of file HelperAbstract.php.
References $url, and Xoops\Module\Helper\HelperAbstract\xoops().
Referenced by Comments\displayDelete(), Comments\displayPost(), Xoops\Module\Helper\HelperAbstract\redirect(), and Comments\renderView().
Xoops\Module\Helper\HelperAbstract::xoops | ( | ) |
Definition at line 88 of file HelperAbstract.php.
Referenced by Xoops\Module\Helper\HelperAbstract\_addLog(), Xoops\Module\Helper\HelperAbstract\_initModule(), Xoops\Module\Helper\HelperAbstract\disableCache(), Xoops\Module\Helper\HelperAbstract\getConfig(), Xoops\Module\Helper\HelperAbstract\getConfigs(), Xoops\Module\Helper\HelperAbstract\getForm(), Xoops\Module\Helper\HelperAbstract\getHandler(), Menus\getSkinInfo(), Comments\getUserConfig(), Xoops\Module\Helper\HelperAbstract\isCurrentModule(), Xoops\Module\Helper\HelperAbstract\isUserAdmin(), Xoops\Module\Helper\HelperAbstract\loadLanguage(), Xoops\Module\Helper\HelperAbstract\loadLocale(), Xoops\Module\Helper\HelperAbstract\path(), Xoops\Module\Helper\HelperAbstract\redirect(), and Xoops\Module\Helper\HelperAbstract\url().
|
protected |
Definition at line 36 of file HelperAbstract.php.
|
protected |
Definition at line 26 of file HelperAbstract.php.
|
protected |
Definition at line 31 of file HelperAbstract.php.
Referenced by Xoops\Module\Helper\HelperAbstract\getModule().