Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/grade/report/grader/tabs.php File Reference

Go to the source code of this file.

Variables

 $row = $tabs = array()
 $tabcontext = get_context_instance(CONTEXT_COURSE, $COURSE->id)
 $row []
if(has_capability('moodle/grade:manage',
$tabcontext)||has_capability('moodle/grade:edit',
$tabcontext)||has_capability('gradereport/grader:view',
$tabcontext)) 
$tabs [] = $row

Variable Documentation

$row = $tabs = array()

Definition at line 18 of file tabs.php.

$row[]
Initial value:
 new tabobject('graderreport',
                           $CFG->wwwroot.'/grade/report/grader/index.php?id='.$courseid,
                           get_string('pluginname', 'gradereport_grader'))

Definition at line 20 of file tabs.php.

$tabcontext = get_context_instance(CONTEXT_COURSE, $COURSE->id)

Definition at line 19 of file tabs.php.

if (has_capability('moodle/grade:manage', $tabcontext)||has_capability('moodle/grade:edit', $tabcontext)||has_capability('gradereport/grader:view', $tabcontext)) $tabs[] = $row

Definition at line 31 of file tabs.php.

 All Data Structures Namespaces Files Functions Variables Enumerations