Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/modules.php File Reference

Go to the source code of this file.

Enumerations

enum  MODULE_TABLE

Variables

 $show = optional_param('show', '', PARAM_PLUGIN)
 $hide = optional_param('hide', '', PARAM_PLUGIN)
 $delete = optional_param('delete', '', PARAM_PLUGIN)
 $confirm = optional_param('confirm', '', PARAM_BOOL)
 $stractivities = get_string("activities")
 Print headings.
 $strdelete = get_string("delete")
 $strversion = get_string("version")
 $strhide = get_string("hide")
 $strshow = get_string("show")
 $strsettings = get_string("settings")
 $stractivitymodule = get_string("activitymodule")
 $strshowmodulecourse = get_string('showmodulecourse')
if(!empty($hide) and
confirm_sesskey()) if(!empty($show)
and confirm_sesskey()) 
if (!empty($delete) and confirm_sesskey())
 If data submitted, then process and store.
if(!$modules=$DB->get_records('modules',
array(), 'name ASC')) 
$table = new flexible_table(MODULE_TABLE)
 Get and sort the existing modules.

Enumeration Type Documentation

Definition at line 10 of file modules.php.


Variable Documentation

Definition at line 17 of file modules.php.

Definition at line 16 of file modules.php.

$hide = optional_param('hide', '', PARAM_PLUGIN)

Definition at line 15 of file modules.php.

$show = optional_param('show', '', PARAM_PLUGIN)

Definition at line 14 of file modules.php.

$stractivities = get_string("activities")

Print headings.

Definition at line 22 of file modules.php.

$stractivitymodule = get_string("activitymodule")

Definition at line 29 of file modules.php.

$strdelete = get_string("delete")

Definition at line 23 of file modules.php.

$strhide = get_string("hide")

Definition at line 25 of file modules.php.

$strsettings = get_string("settings")

Definition at line 27 of file modules.php.

$strshow = get_string("show")

Definition at line 26 of file modules.php.

$strshowmodulecourse = get_string('showmodulecourse')

Definition at line 30 of file modules.php.

$strversion = get_string("version")

Definition at line 24 of file modules.php.

if (!$modules=$DB->get_records('modules', array(), 'name ASC')) $table = new flexible_table(MODULE_TABLE)

Get and sort the existing modules.

Print the table of all modules

Definition at line 116 of file modules.php.

if (!empty($hide) and confirm_sesskey()) if (!empty($show) and confirm_sesskey()) if(!empty($delete) and confirm_sesskey())

If data submitted, then process and store.

Definition at line 73 of file modules.php.

 All Data Structures Namespaces Files Functions Variables Enumerations