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

Go to the source code of this file.

Variables

 $confirm = optional_param('confirm', 0, PARAM_BOOL)
 $hide = optional_param('hide', 0, PARAM_INT)
 $show = optional_param('show', 0, PARAM_INT)
 $delete = optional_param('delete', 0, PARAM_INT)
 $unprotect = optional_param('unprotect', 0, PARAM_INT)
 $protect = optional_param('protect', 0, PARAM_INT)
 $strmanageblocks = get_string('manageblocks')
 Print headings.
 $strdelete = get_string('delete')
 $strversion = get_string('version')
 $strhide = get_string('hide')
 $strshow = get_string('show')
 $strsettings = get_string('settings')
 $strcourses = get_string('blockinstances', 'admin')
 $strname = get_string('name')
 $strshowblockcourse = get_string('showblockcourse')
 $strprotecthdr = get_string('blockprotect', 'admin'). $OUTPUT->help_icon('blockprotect','admin')
 $strprotect = get_string('blockprotect', 'admin')
 $strunprotect = get_string('blockunprotect', 'admin')
if(!$blocks=$DB->get_records('block',
array(), 'name ASC')) 
$incompatible = array()
 If data submitted, then process and store.
 $table = new flexible_table('admin-blocks-compatible')
 Print the table of all blocks.
 $tablerows = array()
 if (!empty($incompatible)) = false
 Next, look for a CSV file locally.

Variable Documentation

Definition at line 11 of file blocks.php.

Definition at line 14 of file blocks.php.

$hide = optional_param('hide', 0, PARAM_INT)

Definition at line 12 of file blocks.php.

if (!$blocks=$DB->get_records('block', array(), 'name ASC')) $incompatible = array()

If data submitted, then process and store.

Main display starts here Get and sort the existing blocks

Definition at line 121 of file blocks.php.

$protect = optional_param('protect', 0, PARAM_INT)

Definition at line 16 of file blocks.php.

$show = optional_param('show', 0, PARAM_INT)

Definition at line 13 of file blocks.php.

$strcourses = get_string('blockinstances', 'admin')

Definition at line 26 of file blocks.php.

$strdelete = get_string('delete')

Definition at line 21 of file blocks.php.

$strhide = get_string('hide')

Definition at line 23 of file blocks.php.

$strmanageblocks = get_string('manageblocks')

Print headings.

Definition at line 20 of file blocks.php.

$strname = get_string('name')

Definition at line 27 of file blocks.php.

$strprotect = get_string('blockprotect', 'admin')

Definition at line 30 of file blocks.php.

$strprotecthdr = get_string('blockprotect', 'admin'). $OUTPUT->help_icon('blockprotect','admin')

Definition at line 29 of file blocks.php.

$strsettings = get_string('settings')

Definition at line 25 of file blocks.php.

$strshow = get_string('show')

Definition at line 24 of file blocks.php.

$strshowblockcourse = get_string('showblockcourse')

Definition at line 28 of file blocks.php.

$strunprotect = get_string('blockunprotect', 'admin')

Definition at line 31 of file blocks.php.

$strversion = get_string('version')

Definition at line 22 of file blocks.php.

$table = new flexible_table('admin-blocks-compatible')

Print the table of all blocks.

Definition at line 125 of file blocks.php.

$tablerows = array()

Definition at line 132 of file blocks.php.

$unprotect = optional_param('unprotect', 0, PARAM_INT)

Definition at line 15 of file blocks.php.

if = false

Next, look for a CSV file locally.

TODO Add more useful overview info for teachers here, see below.

Finish the page //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////.

Re-apply pairs of single-quotes to the text.

Delete a category.

Final resort, use the copy included in Moodle.

Otherwise, let's try moodle.org's copy.

Now all the normal modules by topic Everything below uses "section" terminology - each "section" is a topic.

Create a default category if necessary Move a category to a new parent if required Hide or show a category Move a category up or down Print headings

Print transformation if debug = on

Should we show a 'Make comment or override grade' link?

$manualcomment = self::VISIBLE.

Show links to notes made about this student (must click to display, for privacy) Recent comments made in this course Recent blogs associated with this course and items in it

Approve any requested records

Check the number of entries required against the number of entries already made (doesn't apply to teachers)

Check the number of entries required before to view other participant's entries against the number of entries already made (doesn't apply to teachers)

setup group and approve restrictions

Find the field we are sorting on

To actually fetch the records

Work out the paging numbers and counts

Get the actual records

Definition at line 235 of file blocks.php.

 All Data Structures Namespaces Files Functions Variables Enumerations