Zikula_Core
[ class tree: Zikula_Core ] [ index: Zikula_Core ] [ all elements ]

Class: ModuleUtil

Source Location: /includes/pnobjlib/ModuleUtil.class.php

Class Overview


ModuleUtil


Methods



Class Details

[line 19]
ModuleUtil



[ Top ]


Class Methods


method getModules [line 31]

The getModules( [where $where = ''], [sort $sort = 'displayname'])

Generic modules select function. Only modules in the module table are returned which means that new/unscanned modules will not be returned



Tags:

return:  resulting module object array


Parameters:

where   $where   The where clause to use for the select
sort   $sort   The sort to use

[ Top ]

method getModulesByState [line 47]

The getModulesByState( [state $state = 3], [sort $sort = 'displayname'])

Return an array of modules in the specified state, only modules in the module table are returned which means that new/unscanned modules will not be returned



Tags:

return:  resulting module object array


Parameters:

state   $state   The module state (optional) (defaults = active state)
sort   $sort   The sort to use

[ Top ]


Documentation generated on Fri, 18 Jul 2008 21:47:54 +0200 by phpDocumentor 1.4.1