| [ Index ] |
|
Code source de XOOPS 2.0.17.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 555 lignes (21 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
XoopsModule:: (13 méthodes):
XoopsModule()
loadInfoAsVar()
getInfo()
mainLink()
subLink()
loadAdminMenu()
getAdminMenu()
loadInfo()
search()
mid()
dirname()
name()
getByDirName()
XoopsModuleHandler:: (8 méthodes):
create()
get()
getByDirname()
insert()
delete()
getObjects()
getCount()
getList()
Classe: XoopsModule - X-Ref
A Module| XoopsModule() X-Ref |
| Constructor |
| loadInfoAsVar($dirname, $verbose = true) X-Ref |
| Load module info param: string $dirname Directory Name param: boolean $verbose |
| getInfo($name=null) X-Ref |
| Get module info param: string $name return: array|string Array of module information. |
| mainLink() X-Ref |
| Get a link to the modules main page return: string FALSE on fail |
| subLink() X-Ref |
| Get links to the subpages return: string |
| loadAdminMenu() X-Ref |
| Load the admin menu for the module |
| getAdminMenu() X-Ref |
| Get the admin menu for the module return: string |
| loadInfo($dirname, $verbose = true) X-Ref |
| Load the module info for this module param: string $dirname Module directory param: bool $verbose Give an error on fail? |
| search($term = '', $andor = 'AND', $limit = 0, $offset = 0, $userid = 0) X-Ref |
| Search contents within a module param: string $term param: string $andor 'AND' or 'OR' param: integer $limit param: integer $offset param: integer $userid return: mixed Search result. |
| mid() X-Ref |
| Pas de description |
| dirname() X-Ref |
| Pas de description |
| name() X-Ref |
| Pas de description |
| getByDirName($dirname) X-Ref |
| Pas de description |
Classe: XoopsModuleHandler - X-Ref
XOOPS module handler class.| create($isNew = true) X-Ref |
| Create a new {@link XoopsModule} object param: boolean $isNew Flag the new object as "new" return: object |
| get($id) X-Ref |
| Load a module from the database param: int $id ID of the module return: object FALSE on fail |
| getByDirname($dirname) X-Ref |
| Load a module by its dirname param: string $dirname return: object FALSE on fail |
| insert(&$module) X-Ref |
| Write a module to the database param: object &$module reference to a {@link XoopsModule} return: bool |
| delete(&$module) X-Ref |
| Delete a module from the database param: object &$module return: bool |
| getObjects($criteria = null, $id_as_key = false) X-Ref |
| Load some modules param: object $criteria {@link CriteriaElement} param: boolean $id_as_key Use the ID as key into the array return: array |
| getCount($criteria = null) X-Ref |
| Count some modules param: object $criteria {@link CriteriaElement} return: int |
| getList($criteria = null, $dirname_as_key = false) X-Ref |
| returns an array of module names param: bool $criteria param: boolean $dirname_as_key return: array |
| Généré le : Sun Nov 25 11:44:32 2007 | par Balluche grâce à PHPXref 0.7 |
|