|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| & | create ($isNew=true) |
| & | get ($id) |
| & | getByDirname ($dirname) |
| insert (&$module) | |
| delete (&$module) | |
| & | getObjects ($criteria=null, $id_as_key=false) |
| getCount ($criteria=null) | |
| & | getList ($criteria=null, $dirname_as_key=false) |
Public Member Functions inherited from XoopsObjectHandler | |
| __construct (&$db) | |
| & | create () |
Data Fields | |
| $_tmp | |
| $_cachedModule_mid = [] | |
| $_cachedModule_dirname = [] | |
Data Fields inherited from XoopsObjectHandler | |
| $db | |
Definition at line 333 of file module.php.
| & create | ( | $isNew = true | ) |
Create a new XoopsModule object
| bool | $isNew | Flag the new object as "new" |
Definition at line 359 of file module.php.
| delete | ( | & | $module | ) |
Delete a module from the database
| object | &$module |
Reimplemented from XoopsObjectHandler.
Definition at line 509 of file module.php.
| & get | ( | $id | ) |
Load a module from the database
| int | $id | ID of the module |
Reimplemented from XoopsObjectHandler.
Definition at line 375 of file module.php.
| & getByDirname | ( | $dirname | ) |
Load a module by its dirname
| string | $dirname |
Definition at line 407 of file module.php.
| getCount | ( | $criteria = null | ) |
Count some modules
| object | $criteria | CriteriaElement |
Definition at line 623 of file module.php.
| & getList | ( | $criteria = null, | |
| $dirname_as_key = false ) |
returns an array of module names
| bool | $criteria | |
| bool | $dirname_as_key | if true, array keys will be module directory names if false, array keys will be module id |
Definition at line 645 of file module.php.
| & getObjects | ( | $criteria = null, | |
| $id_as_key = false ) |
Load some modules
| object | $criteria | CriteriaElement |
| bool | $id_as_key | Use the ID as key into the array |
Definition at line 575 of file module.php.
| insert | ( | & | $module | ) |
Write a module to the database
| object | &$module | reference to a XoopsModule |
Reimplemented from XoopsObjectHandler.
Definition at line 442 of file module.php.
| $_cachedModule_dirname = [] |
Definition at line 351 of file module.php.
| $_cachedModule_mid = [] |
Definition at line 343 of file module.php.
| $_tmp |
Definition at line 335 of file module.php.