XOOPS
2.6.0
|
Public Member Functions | |
__construct () | |
dirname ($format= '') | |
getAdminMenu () | |
getByDirName ($dirname) | |
getInfo ($name=null) | |
getMessages () | |
hasadmin ($format= '') | |
hascomments ($format= '') | |
hasconfig ($format= '') | |
hasmain ($format= '') | |
hasnotification ($format= '') | |
hassearch ($format= '') | |
id ($format= 'n') | |
isactive ($format= '') | |
last_update ($format= '') | |
loadAdminMenu () | |
loadInfo ($dirname, $verbose=true) | |
loadInfoAsVar ($dirname, $verbose=true) | |
mainLink () | |
mid ($format= '') | |
name ($format= '') | |
search ($term= '', $andor= 'AND', $limit=0, $offset=0, $userid=0) | |
setInfo ($name, $value) | |
setMessage ($str) | |
subLink () | |
version ($format= '') | |
weight ($format= '') | |
Public Member Functions inherited from Xoops\Core\Kernel\XoopsObject | |
assignVar ($key, $value) | |
assignVars ($var_arr) | |
cleanVars ($quote=true) | |
destroyVars ($var) | |
getErrors () | |
getHtmlErrors () | |
getValues ($keys=null, $format= 's', $maxDepth=1) | |
getVar ($key, $format= 's') | |
getVars () | |
initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '') | |
isDirty () | |
isNew () | |
loadFilters ($method) | |
registerFilter ($filtername) | |
setDirty () | |
setErrors ($err_str) | |
setFormVars ($var_arr=null, $pref= 'xo_', $not_gpc=false) | |
setNew () | |
setVar ($key, $value, $not_gpc=false) | |
setVars ($var_arr, $not_gpc=false) | |
toArray () | |
unsetDirty () | |
unsetNew () | |
xoopsClone () | |
Public Attributes | |
$adminmenu | |
$modinfo | |
Public Attributes inherited from Xoops\Core\Kernel\XoopsObject | |
$cleanVars = array() | |
$plugin_path | |
$vars = array() | |
Protected Attributes | |
$xoops_root_path | |
$xoops_url | |
Private Attributes | |
$_msg = array() | |
Definition at line 31 of file module.php.
XoopsModule::__construct | ( | ) |
Constructor
Definition at line 55 of file module.php.
References XoopsBaseConfig\get(), Xoops\Core\Kernel\XoopsObject\initVar(), Xoops\Core\Kernel\XOBJ_DTYPE_INT, Xoops\Core\Kernel\XOBJ_DTYPE_OTHER, and Xoops\Core\Kernel\XOBJ_DTYPE_TXTBOX.
XoopsModule::dirname | ( | $format = '' | ) |
string | $format |
Definition at line 349 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::getAdminMenu | ( | ) |
Get the admin menu for the module
Definition at line 218 of file module.php.
References $adminmenu, and loadAdminMenu().
XoopsModule::getByDirName | ( | $dirname | ) |
$dirname |
Definition at line 412 of file module.php.
References $dirname, and Xoops\getInstance().
XoopsModule::getInfo | ( | $name = null | ) |
Get module info
string | $name |
Definition at line 153 of file module.php.
References $modinfo, $name, Xoops\Core\Kernel\XoopsObject\getVar(), and loadInfo().
Referenced by SystemPreferencesForm\getForm(), SystemModule\installBlocks(), SystemModule\installconfigs(), SystemModule\installTemplates(), loadAdminMenu(), and subLink().
XoopsModule::getMessages | ( | ) |
return the messages for this object as an array
Definition at line 124 of file module.php.
References $_msg.
XoopsModule::hasadmin | ( | $format = '' | ) |
string | $format |
Definition at line 367 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::hascomments | ( | $format = '' | ) |
string | $format |
Definition at line 394 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::hasconfig | ( | $format = '' | ) |
string | $format |
Definition at line 385 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::hasmain | ( | $format = '' | ) |
string | $format |
Definition at line 358 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::hasnotification | ( | $format = '' | ) |
string | $format |
Definition at line 403 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::hassearch | ( | $format = '' | ) |
string | $format |
Definition at line 376 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::id | ( | $format = 'n' | ) |
string | $format |
Definition at line 286 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::isactive | ( | $format = '' | ) |
string | $format |
Definition at line 340 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::last_update | ( | $format = '' | ) |
string | $format |
Definition at line 322 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::loadAdminMenu | ( | ) |
Load the admin menu for the module
Definition at line 203 of file module.php.
References $adminmenu, $file, XoopsLoad\fileExists(), and getInfo().
Referenced by getAdminMenu().
XoopsModule::loadInfo | ( | $dirname, | |
$verbose = true |
|||
) |
Load the module info for this module
string | $dirname | Module directory |
bool | $verbose | Give an error on fail? |
Definition at line 236 of file module.php.
References $dirname, $file, $modversion, $xoops, and XoopsLoad\fileExists().
Referenced by getInfo(), and loadInfoAsVar().
XoopsModule::loadInfoAsVar | ( | $dirname, | |
$verbose = true |
|||
) |
Load module info
string | $dirname | Directory Name |
boolean | $verbose |
Definition at line 82 of file module.php.
References $dirname, loadInfo(), and Xoops\Core\Kernel\XoopsObject\setVar().
XoopsModule::mainLink | ( | ) |
Get a link to the modules main page
Definition at line 173 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::mid | ( | $format = '' | ) |
string | $format |
Definition at line 295 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::name | ( | $format = '' | ) |
string | $format |
Definition at line 304 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::search | ( | $term = '' , |
|
$andor = 'AND' , |
|||
$limit = 0 , |
|||
$offset = 0 , |
|||
$userid = 0 |
|||
) |
Search contents within a module
string | $term | |
string | $andor | 'AND' or 'OR' |
integer | $limit | |
integer | $offset | |
integer | $userid |
Definition at line 277 of file module.php.
XoopsModule::setInfo | ( | $name, | |
$value | |||
) |
Set module info
string | $name | |
mixed | $value |
Definition at line 136 of file module.php.
References $name.
XoopsModule::setMessage | ( | $str | ) |
XoopsModule::subLink | ( | ) |
Get links to the subpages
Definition at line 187 of file module.php.
References getInfo().
XoopsModule::version | ( | $format = '' | ) |
string | $format |
Definition at line 313 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsModule::weight | ( | $format = '' | ) |
string | $format |
Definition at line 331 of file module.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
|
private |
Definition at line 47 of file module.php.
Referenced by getMessages().
XoopsModule::$adminmenu |
Definition at line 42 of file module.php.
Referenced by getAdminMenu(), and loadAdminMenu().
XoopsModule::$modinfo |
Definition at line 36 of file module.php.
Referenced by getInfo().
|
protected |
Definition at line 50 of file module.php.
|
protected |
Definition at line 49 of file module.php.