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

Go to the source code of this file.

Variables

 $hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT))
 $hassidepost = (empty($PAGE->layout_options['noblocks']) && $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()
if($showsidepre
&&!$showsidepost) else if($showsidepost
&&!$showsidepre) else if(!$showsidepost
&&!$showsidepre) if($hassidepre||$hassidepost) 
if ($hascustommenu)

Variable Documentation

$bodyclasses = array()

Definition at line 11 of file frontpage.php.

$custommenu = $OUTPUT->custom_menu()

Definition at line 8 of file frontpage.php.

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

Definition at line 9 of file frontpage.php.

$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT))

Definition at line 4 of file frontpage.php.

$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT))

Definition at line 3 of file frontpage.php.

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

Definition at line 7 of file frontpage.php.

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

Definition at line 6 of file frontpage.php.

if($hascustommenu)

Definition at line 22 of file frontpage.php.

 All Data Structures Namespaces Files Functions Variables Enumerations