Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/report/configlog/index.php File Reference

Go to the source code of this file.

Namespaces

namespace  report

Variables

 $page = optional_param('page', 0, PARAM_INT)
 $perpage = optional_param('perpage', 30, PARAM_INT)
 $sort = optional_param('sort', 'timemodified', PARAM_ALPHA)
 $dir = optional_param('dir', 'DESC', PARAM_ALPHA)
 $changescount = $DB->count_records('config_log')
 $columns
 $hcolumns = array()
if(!isset($columns[$sort]))
foreach($columns as $column=>
$strcolumn) 
$baseurl = new moodle_url('index.php', array('sort' => $sort, 'dir' => $dir, 'perpage' => $perpage))
 $override = new stdClass()
$override firstname = 'firstname'
$override lastname = 'lastname'
 $fullnamelanguage = get_string('fullnamedisplay', '', $override)
$table head = array($hcolumns['timemodified'], $fullnamedisplay, $hcolumns['plugin'], $hcolumns['name'], $hcolumns['value'], $hcolumns['oldvalue'])
$table align = array('left', 'left', 'left', 'left', 'left', 'left')
$table size = array('30%', '10%', '10%', '10%', '20%', '20%')
$table width = '95%'
$table data = array()
 $sql
 $rs = $DB->get_recordset_sql($sql, array(), $page*$perpage, $perpage)

Variable Documentation

if (!isset($columns[$sort])) foreach ($columns as $column=> $strcolumn) $baseurl = new moodle_url('index.php', array('sort' => $sort, 'dir' => $dir, 'perpage' => $perpage))

Definition at line 78 of file index.php.

$changescount = $DB->count_records('config_log')

Definition at line 40 of file index.php.

$columns
Initial value:
 array('firstname'    => get_string('firstname'),
                 'lastname'     => get_string('lastname'),
                 'timemodified' => get_string('timemodified', 'report_configlog'),
                 'plugin'       => get_string('plugin', 'report_configlog'),
                 'name'         => get_string('setting', 'report_configlog'),
                 'value'        => get_string('value', 'report_configlog'),
                 'oldvalue'     => get_string('oldvalue', 'report_configlog'),
                )

Definition at line 42 of file index.php.

$dir = optional_param('dir', 'DESC', PARAM_ALPHA)

Definition at line 33 of file index.php.

$fullnamelanguage = get_string('fullnamedisplay', '', $override)

Definition at line 84 of file index.php.

$hcolumns = array()

Definition at line 50 of file index.php.

$override = new stdClass()

Definition at line 81 of file index.php.

Definition at line 30 of file index.php.

$perpage = optional_param('perpage', 30, PARAM_INT)

Definition at line 31 of file index.php.

$rs = $DB->get_recordset_sql($sql, array(), $page*$perpage, $perpage)

Definition at line 113 of file index.php.

$sort = optional_param('sort', 'timemodified', PARAM_ALPHA)

Definition at line 32 of file index.php.

$sql
Initial value:
"SELECT $ufields,
               cl.timemodified, cl.plugin, cl.name, cl.value, cl.oldvalue
          FROM {config_log} cl
          JOIN {user} u ON u.id = cl.userid
      ORDER BY $orderby"

Definition at line 107 of file index.php.

$table align = array('left', 'left', 'left', 'left', 'left', 'left')

Definition at line 95 of file index.php.

Definition at line 98 of file index.php.

$override firstname = 'firstname'

Definition at line 82 of file index.php.

$table head = array($hcolumns['timemodified'], $fullnamedisplay, $hcolumns['plugin'], $hcolumns['name'], $hcolumns['value'], $hcolumns['oldvalue'])

Definition at line 94 of file index.php.

$override lastname = 'lastname'

Definition at line 83 of file index.php.

$table size = array('30%', '10%', '10%', '10%', '20%', '20%')

Definition at line 96 of file index.php.

$table width = '95%'

Definition at line 97 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations