|
| __construct () |
|
| loadInfoAsVar ($dirname, $verbose=true) |
|
| setMessage ($str) |
|
| getMessages () |
|
| setInfo ($name, $value) |
|
& | getInfo ($name=null) |
|
| mainLink () |
|
| subLink () |
|
| loadAdminMenu () |
|
& | getAdminMenu () |
|
| loadInfo ($dirname, $verbose=true) |
|
| search ($term='', $andor='AND', $limit=0, $offset=0, $userid=0) |
|
| id ($format='N') |
|
| mid ($format='') |
|
| name ($format='') |
|
| version ($format='') |
|
| last_update ($format='') |
|
| weight ($format='') |
|
| isactive ($format='') |
|
| dirname ($format='') |
|
| hasmain ($format='') |
|
| hasadmin ($format='') |
|
| hassearch ($format='') |
|
| hasconfig ($format='') |
|
| hascomments ($format='') |
|
| hasnotification ($format='') |
|
| checkAccess () |
|
| loadLanguage ($type='main') |
|
| loadErrorMessages () |
|
| getCurrentPage () |
|
| install ($admingroups=array(), $accessgroups=array()) |
|
| update () |
|
| insert () |
|
| executeSQL () |
|
| insertTemplates () |
|
| gettemplate ($template, $block=false) |
|
| insertBlocks () |
|
| insertConfigCategories () |
|
| insertConfig () |
|
| insertProfileFields () |
|
| executeScript ($type, $state=2) |
|
| insertGroupPermissions ($groups, $type) |
|
| XoopsObject () |
|
| setNew () |
|
| unsetNew () |
|
| isNew () |
|
| setDirty () |
|
| unsetDirty () |
|
| isDirty () |
|
| initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options='', $enumerations='') |
|
| assignVar ($key, $value) |
|
| assignVars ($var_arr) |
|
| setVar ($key, $value, $not_gpc=false) |
|
| setVars ($var_arr, $not_gpc=false) |
|
| destroyVars ($var) |
|
| destoryVars ($var) |
|
| setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false) |
|
& | getVars () |
|
| getValues ($keys=null, $format='s', $maxDepth=1) |
|
| getVar ($key, $format='s') |
|
| cleanVars () |
|
| registerFilter ($filtername) |
|
| _loadFilters () |
|
| loadFilters ($method) |
|
| xoopsClone () |
|
| __clone () |
|
| setErrors ($err_str) |
|
| getErrors () |
|
| getHtmlErrors () |
|
| toArray () |
|
◆ __construct()
◆ checkAccess()
◆ dirname()
Returns Class Base Variable dirname
- Paramètres
-
- Renvoie
- mixed
◆ executeScript()
executeScript |
( |
|
$type, |
|
|
|
$state = 2 |
|
) |
| |
◆ executeSQL()
◆ getAdminMenu()
Get the admin menu for the module
- Renvoie
- string
◆ getByDirname()
static getByDirname |
( |
|
$dirname | ) |
|
|
static |
◆ getCurrentPage()
◆ getInfo()
& getInfo |
( |
|
$name = null | ) |
|
Get module info
- Paramètres
-
- Renvoie
- array|string Array of module information. If $name is set, returns a single module information item as string.
◆ getMessages()
return the messages for this object as an array
- Renvoie
- array an array of messages @access public
◆ gettemplate()
gettemplate |
( |
|
$template, |
|
|
|
$block = false |
|
) |
| |
◆ hasadmin()
Returns Class Base Variable hasadmin
- Paramètres
-
- Renvoie
- mixed
◆ hascomments()
hascomments |
( |
|
$format = '' | ) |
|
Returns Class Base Variable hascomments
- Paramètres
-
- Renvoie
- mixed
◆ hasconfig()
hasconfig |
( |
|
$format = '' | ) |
|
Returns Class Base Variable hasconfig
- Paramètres
-
- Renvoie
- mixed
◆ hasmain()
Returns Class Base Variable hasmain
- Paramètres
-
- Renvoie
- mixed
◆ hasnotification()
hasnotification |
( |
|
$format = '' | ) |
|
Returns Class Base Variable hasnotification
- Paramètres
-
- Renvoie
- mixed
◆ hassearch()
hassearch |
( |
|
$format = '' | ) |
|
Returns Class Base Variable hassearch
- Paramètres
-
- Renvoie
- mixed
◆ id()
Returns Class Base Variable mid
- Paramètres
-
- Renvoie
- mixed
◆ insert()
◆ insertBlocks()
◆ insertConfig()
◆ insertConfigCategories()
insertConfigCategories |
( |
| ) |
|
◆ insertGroupPermissions()
insertGroupPermissions |
( |
|
$groups, |
|
|
|
$type |
|
) |
| |
◆ insertProfileFields()
◆ insertTemplates()
◆ install()
install |
( |
|
$admingroups = array() , |
|
|
|
$accessgroups = array() |
|
) |
| |
- Paramètres
-
array | $admingroups | |
array | $accessgroups | |
- Renvoie
- bool
◆ isactive()
Returns Class Base Variable isactive
- Paramètres
-
- Renvoie
- mixed
◆ last_update()
last_update |
( |
|
$format = '' | ) |
|
Returns Class Base Variable last_update
- Paramètres
-
- Renvoie
- mixed
◆ loadAdminMenu()
Load the admin menu for the module
◆ loadErrorMessages()
◆ loadInfo()
loadInfo |
( |
|
$dirname, |
|
|
|
$verbose = true |
|
) |
| |
Load the module info for this module
- Paramètres
-
string | $dirname | Module directory |
bool | $verbose | Give an error on fail? |
- Renvoie
- bool true if loaded
◆ loadInfoAsVar()
loadInfoAsVar |
( |
|
$dirname, |
|
|
|
$verbose = true |
|
) |
| |
Load module info
- Paramètres
-
string | $dirname | Directory Name |
boolean | $verbose | |
◆ loadLanguage()
loadLanguage |
( |
|
$type = 'main' | ) |
|
◆ mainLink()
Get a link to the modules main page
- Renvoie
- string FALSE on fail
◆ mid()
Returns Class Base Variable mid
- Paramètres
-
- Renvoie
- mixed
◆ name()
Returns Class Base Variable name
- Paramètres
-
- Renvoie
- mixed
◆ search()
search |
( |
|
$term = '' , |
|
|
|
$andor = 'AND' , |
|
|
|
$limit = 0 , |
|
|
|
$offset = 0 , |
|
|
|
$userid = 0 |
|
) |
| |
Search contents within a module
- Paramètres
-
string | $term | |
string | $andor | 'AND' or 'OR' |
integer | $limit | |
integer | $offset | |
integer | $userid | |
- Renvoie
- mixed Search result.
◆ setInfo()
setInfo |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
Set module info
- Paramètres
-
- Renvoie
- bool
◆ setMessage()
add a message
- Paramètres
-
string | $str | message to add @access public |
◆ subLink()
Get links to the subpages
- Renvoie
- string
◆ update()
◆ version()
Returns Class Base Variable version
- Paramètres
-
- Renvoie
- mixed
◆ weight()
Returns Class Base Variable weight
- Paramètres
-
- Renvoie
- mixed
◆ $_msg
◆ $adminmenu
◆ $modinfo
La documentation de cette classe a été générée à partir du fichier suivant :