Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/formal_white/layout/general.php File Reference

Go to the source code of this file.

Variables

 $hasheading = $PAGE->heading
 $hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar())
 $hasfooter = (empty($PAGE->layout_options['nofooter']))
 $hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT)
 $hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT)
 $showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)
 $showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)
 $custommenu = $OUTPUT->custom_menu()
 $hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu))
 $bodyclasses = array()
 $displaylogo = !isset($PAGE->theme->settings->displaylogo) || $PAGE->theme->settings->displaylogo
if($hasframe) if($hasheading)
if($hascustommenu) 
if ($hasnavbar)

Variable Documentation

$bodyclasses = array()

Definition at line 18 of file general.php.

$custommenu = $OUTPUT->custom_menu()

Definition at line 15 of file general.php.

$displaylogo = !isset($PAGE->theme->settings->displaylogo) || $PAGE->theme->settings->displaylogo

Definition at line 40 of file general.php.

$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu))

Definition at line 16 of file general.php.

$hasfooter = (empty($PAGE->layout_options['nofooter']))

Definition at line 7 of file general.php.

$hasheading = $PAGE->heading

Definition at line 5 of file general.php.

$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar())

Definition at line 6 of file general.php.

$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT)

Definition at line 10 of file general.php.

$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT)

Definition at line 9 of file general.php.

$showsidepost = $hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)

Definition at line 13 of file general.php.

$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT)

Definition at line 12 of file general.php.

if ($hasframe) if ($hasheading) if ($hascustommenu) if($hasnavbar)

Definition at line 95 of file general.php.

 All Data Structures Namespaces Files Functions Variables Enumerations