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

Go to the source code of this file.

Namespaces

namespace  theme

Variables

 $toblock = optional_param('mymobile_blocks', false, PARAM_BOOL)
 $toset = optional_param('mymobile_settings', false, PARAM_BOOL)
 $mypagetype = $PAGE->pagetype
 $mylayoutype = $PAGE->pagelayout
 $mydevice = $PAGE->devicetypeinuse
 $urlsettings = new moodle_url($PAGE->url, array('mymobile_settings' => 'true'))
 $hasheading = ($PAGE->heading)
 $hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar())
 $hasfooter = (empty($PAGE->layout_options['nofooter']))
 $hasmyblocks = $PAGE->blocks->region_has_content('myblocks', $OUTPUT)
 $bodyclasses = array()
 $bodyclasses [] = (string)$hasithumb
 $gowide = ($mydevice == 'default' && $showusetableview == 'tabshow' || $mydevice == 'tablet' && $showusetableview == 'tabshow')
if($gowide) $usercol = (mymobile_get_colpos() == 'on')
 $renderer = $PAGE->get_renderer('theme_mymobile')
if($toset) if($toblock) if(!$toblock
&&!$toset) if($gowide
&&$hasmyblocks &&!$toset) 
if ($toblock &&!$gowide)

Variable Documentation

$bodyclasses = array()

Definition at line 92 of file general.php.

$bodyclasses[] = (string)$hasithumb

Definition at line 93 of file general.php.

$gowide = ($mydevice == 'default' && $showusetableview == 'tabshow' || $mydevice == 'tablet' && $showusetableview == 'tabshow')

Definition at line 98 of file general.php.

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

Definition at line 89 of file general.php.

$hasheading = ($PAGE->heading)

Definition at line 87 of file general.php.

$hasmyblocks = $PAGE->blocks->region_has_content('myblocks', $OUTPUT)

Definition at line 90 of file general.php.

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

Definition at line 88 of file general.php.

$mydevice = $PAGE->devicetypeinuse

Definition at line 33 of file general.php.

$mylayoutype = $PAGE->pagelayout

Definition at line 32 of file general.php.

$mypagetype = $PAGE->pagetype

Definition at line 31 of file general.php.

$renderer = $PAGE->get_renderer('theme_mymobile')

Definition at line 105 of file general.php.

$toblock = optional_param('mymobile_blocks', false, PARAM_BOOL)

Definition at line 27 of file general.php.

$toset = optional_param('mymobile_settings', false, PARAM_BOOL)

Definition at line 29 of file general.php.

$urlsettings = new moodle_url($PAGE->url, array('mymobile_settings' => 'true'))

Definition at line 85 of file general.php.

if ($gowide) $usercol = (mymobile_get_colpos() == 'on')

Definition at line 103 of file general.php.

if (!empty($CFG->messaging)) if($mypagetype!= 'site-index')

Definition at line 226 of file general.php.

 All Data Structures Namespaces Files Functions Variables Enumerations