XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct () | |
loadInfoAsVar (string $dirname, bool $verbose=true) | |
& | getInfo ($name=null) |
mainLink () | |
& | subLink () |
loadAdminMenu () | |
& | getAdminMenu () |
loadInfo ($dirname, $verbose=true) | |
& | search ($term='', $andor='AND', $limit=0, $offset=0, $userid=0) |
getRenderedVersion () | |
hasHelp () | |
getHelp () | |
hasNeedUpdate () | |
mid () | |
dirname () | |
name () | |
& | getByDirName ($dirname) |
![]() | |
setNew () | |
unsetNew () | |
isNew () | |
setDirty () | |
unsetDirty () | |
isDirty () | |
initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options='') | |
assignVar ($key, $value) | |
assignVars ($var_arr) | |
setVar ($key, $value, $not_gpc=false) | |
setVars ($var_arr, $not_gpc=false) | |
setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false) | |
& | getVars () |
& | getVar ($key, $format='s') |
getShow ($key) | |
set ($key, $value) | |
get ($key) | |
getProperty ($key) | |
getProperties () | |
cleanVars () | |
registerFilter ($filtername) | |
_loadFilters () | |
& | xoopsClone () |
setErrors ($err_str) | |
getErrors () | |
getHtmlErrors () | |
![]() | |
initVar ($key, $data_type, $default, $required, $size) | |
Data Fields | |
$modinfo | |
$adminmenu | |
![]() | |
$vars = [] | |
$cleanVars = [] | |
$_isNew = false | |
$_isDirty = false | |
$_errors = [] | |
$_filters = [] | |
Definition at line 23 of file module.php.
__construct | ( | ) |
constructor
normally, this is called from child classes only @access public
Reimplemented from XoopsObject.
Definition at line 34 of file module.php.
dirname | ( | ) |
Definition at line 304 of file module.php.
& getAdminMenu | ( | ) |
& getByDirName | ( | $dirname | ) |
Definition at line 312 of file module.php.
getHelp | ( | ) |
Definition at line 278 of file module.php.
& getInfo | ( | $name = null | ) |
Get module info
string | $name |
$name
is set, returns a singel module information item as string. Definition at line 104 of file module.php.
getRenderedVersion | ( | ) |
Definition at line 257 of file module.php.
hasHelp | ( | ) |
Definition at line 265 of file module.php.
hasNeedUpdate | ( | ) |
Definition at line 290 of file module.php.
loadAdminMenu | ( | ) |
Load the admin menu for the module
Definition at line 152 of file module.php.
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 185 of file module.php.
loadInfoAsVar | ( | string | $dirname, |
bool | $verbose = true ) |
Load module info
string | $dirname | Directory Name |
bool | $verbose |
Definition at line 67 of file module.php.
mainLink | ( | ) |
Get a link to the modules main page
Definition at line 124 of file module.php.
mid | ( | ) |
name | ( | ) |
Definition at line 308 of file module.php.
& search | ( | $term = '', | |
$andor = 'AND', | |||
$limit = 0, | |||
$offset = 0, | |||
$userid = 0 ) |
Search contents within a module
string | $term | |
string | $andor | 'AND' or 'OR' |
int | $limit | |
int | $offset | |
int | $userid |
Definition at line 232 of file module.php.
& subLink | ( | ) |
$adminmenu |
Definition at line 32 of file module.php.
$modinfo |
Definition at line 28 of file module.php.