Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/lesson/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)
 $strlessons = get_string("modulenameplural", "lesson")
 Get all required strings.
 $strlesson = get_string("modulename", "lesson")
if(!$lessons=get_all_instances_in_course("lesson",
$course)) 
$usesections = course_format_uses_sections($course->format)
 Get all the appropriate data.
if($usesections) $timenow = time()
 Print the list of instances (your module will probably extend this)
 $strsectionname = get_string('sectionname', 'format_'.$course->format)
 $strname = get_string("name")
 $strgrade = get_string("grade")
 $strdeadline = get_string("deadline", "lesson")
 $strnodeadline = get_string("nodeadline", "lesson")
 $table = new html_table()

Variable Documentation

Include required files

Definition at line 31 of file index.php.

$strdeadline = get_string("deadline", "lesson")

Definition at line 75 of file index.php.

$strgrade = get_string("grade")

Definition at line 74 of file index.php.

$strlesson = get_string("modulename", "lesson")

Definition at line 48 of file index.php.

$strlessons = get_string("modulenameplural", "lesson")

Get all required strings.

Definition at line 47 of file index.php.

$strname = get_string("name")

Definition at line 73 of file index.php.

$strnodeadline = get_string("nodeadline", "lesson")

Definition at line 76 of file index.php.

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

Definition at line 72 of file index.php.

$table = new html_table()

Definition at line 77 of file index.php.

if ($usesections) $timenow = time()

Print the list of instances (your module will probably extend this)

Definition at line 71 of file index.php.

if (!$lessons=get_all_instances_in_course("lesson", $course)) $usesections = course_format_uses_sections($course->format)

Get all the appropriate data.

Definition at line 64 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations