Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs For Class ModuleUtil

Class: ModuleUtil

Source Location: /pnobjlib/ModuleUtil.class.php

Class Overview


ModuleUtil

Methods


Inherited Variables

Inherited 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 ]

Packages:

Files:

Classes: