Source for file ModuleUtil.class.php
Documentation is available at ModuleUtil.class.php
* Zikula Application Framework
* @copyright Robert Gasch
* @link http://www.zikula.org
* @version $Id: ModuleUtil.class.php 24342 2008-06-06 12:03:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @author Robert Gasch rgasch@gmail.com
* Generic modules select function. Only modules in the module
* table are returned which means that new/unscanned modules
* @param where The where clause to use for the select
* @param sort The sort to use
* @return The resulting module object array
function getModules ($where= '', $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
* @param state The module state (optional) (defaults = active state)
* @param sort The sort to use
* @return The resulting module object array
$moduletable = $pntables['modules'];
$modulecolumn = $pntables['modules_column'];
$where = "$modulecolumn[state] = $state";
|