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

Go to the source code of this file.

Variables

 $blockid = required_param('block', PARAM_INT)
 $block = block_instance($blockrecord->name)
if($block===false) $hiddendata
if($config=data_submitted()) $strmanageblocks = get_string('manageblocks')
 If data submitted, then process and store.
 $strblockname = $block->get_title()
 foreach ($hiddendata as $name=> $val) = question_bank::sort_qtype_array($sortedqtypes, $config)

Variable Documentation

$block = block_instance($blockrecord->name)

Definition at line 16 of file block.php.

$blockid = required_param('block', PARAM_INT)

Definition at line 8 of file block.php.

if ($block===false) $hiddendata
Initial value:
 array(
        'block' => $blockid,
        'sesskey' => sesskey()
    )

Definition at line 23 of file block.php.

$strblockname = $block->get_title()

Definition at line 50 of file block.php.

if ($config=data_submitted()) $strmanageblocks = get_string('manageblocks')

If data submitted, then process and store.

Otherwise print the form.

Definition at line 49 of file block.php.

foreach = question_bank::sort_qtype_array($sortedqtypes, $config)

Definition at line 64 of file block.php.

 All Data Structures Namespaces Files Functions Variables Enumerations