/administrator/components/com_modules/admin.modules.php

Description
  • license: GNU/GPL Mambo is Free Software
  • copyright: (C) 2000 - 2005 Miro International Pty Ltd
  • version: $Id: admin.modules.php,v 1.16 2005/02/15 15:58:13 kochp Exp $
Includes
require_once ($mainframe->getPath('admin_html')) (line 19)

ensure this file is being included by a parent file

Functions
cancelModule (line 517)

Cancels an edit operation

void cancelModule (mixed $option, mixed $client)
copyModule (line 174)

Compiles information to add or edit a module

void copyModule (string $option, integer $uid, mixed $client)
  • string $option: The current GET/POST option
  • integer $uid: The unique id of the record to edit
editModule (line 285)

Compiles information to add or edit a module

void editModule (string $option, integer $uid, mixed $client)
  • string $option: The current GET/POST option
  • integer $uid: The unique id of the record to edit
orderModule (line 533)

Moves the order of a record

void orderModule (integer $uid, integer $inc, mixed $option)
  • integer $uid: The unique id of record
  • integer $inc: The increment to reorder by
publishModule (line 485)

Publishes or Unpublishes one or more modules

void publishModule ([array $cid = null], [integer $publish = 1], mixed $option, mixed $client)
  • array $cid: An array of unique record id numbers
  • integer $publish: 0 if unpublishing, 1 if publishing
removeModule (line 421)

Deletes one or more modules

Also deletes associated entries in the #__module_menu table.

void removeModule (array &$cid, mixed $option, mixed $client)
  • array &$cid: An array of unique category id numbers
saveModule (line 218)

Saves the module after an edit form submit

void saveModule (mixed $option, mixed $client, mixed $task)
viewModules (line 88)

Compiles a list of installed or defined modules

void viewModules (mixed $option, mixed $client)

Documentation generated on Fri, 4 Mar 2005 13:55:40 +1000 by phpDocumentor 1.3.0RC3