Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/url/index.php File Reference

Go to the source code of this file.

Namespaces

namespace  mod
 

Local Library of functions for module scorm.


Variables

 $id = required_param('id', PARAM_INT)
 $course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST)
 $strurl = get_string('modulename', 'url')
 $strurls = get_string('modulenameplural', 'url')
 $strsectionname = get_string('sectionname', 'format_'.$course->format)
 $strname = get_string('name')
 $strintro = get_string('moduleintro')
 $strlastmodified = get_string('lastmodified')
if(!$urls=get_all_instances_in_course('url',
$course)) 
$usesections = course_format_uses_sections($course->format)
if($usesections) $table = new html_table()
$table attributes ['class'] = 'generaltable mod_index'
 $currentsection = ''
 foreach ($urls as $url)

Variable Documentation

$course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST)

Definition at line 31 of file index.php.

$currentsection = ''

Definition at line 73 of file index.php.

Definition at line 29 of file index.php.

$strintro = get_string('moduleintro')

Definition at line 42 of file index.php.

$strlastmodified = get_string('lastmodified')

Definition at line 43 of file index.php.

$strname = get_string('name')

Definition at line 41 of file index.php.

$strsectionname = get_string('sectionname', 'format_'.$course->format)

Definition at line 40 of file index.php.

$strurl = get_string('modulename', 'url')

Definition at line 38 of file index.php.

$strurls = get_string('modulenameplural', 'url')

Definition at line 39 of file index.php.

if ($usesections) $table = new html_table()

Definition at line 61 of file index.php.

Definition at line 56 of file index.php.

$table attributes['class'] = 'generaltable mod_index'

Definition at line 62 of file index.php.

foreach($urls as $url)

Definition at line 74 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations