Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/course/format/social/lib.php File Reference

Go to the source code of this file.

Namespaces

namespace  moodlecore

Functions

 callback_social_load_content (&$navigation, $course, $coursenode)
 limited_load_section_social (&$navigation, $keys, $course, $section)
 callback_social_uses_sections ()
 callback_social_definition ()
 callback_social_request_key ()
 callback_social_display_content ()

Function Documentation

The string that is used to describe a section of the course e.g. Topic, Week...

Returns:
string

Definition at line 69 of file lib.php.

Toogle display of course contents (sections, activities)

Returns:
bool

Definition at line 88 of file lib.php.

callback_social_load_content ( &$  navigation,
course,
coursenode 
)

Used to display the course structure for a course where format=social

This is called automatically by load_course() if the current course format = weeks.

Parameters:
array$pathAn array of keys to the course node in the navigation
stdClass$modinfoThe mod info object for the current course
Returns:
bool Returns true

Definition at line 36 of file lib.php.

The GET argument variable that is used to identify the section being viewed by the user (if there is one)

Returns:
string

Definition at line 79 of file lib.php.

Indicates this format uses sections.

Returns:
bool Returns true

Definition at line 59 of file lib.php.

limited_load_section_social ( &$  navigation,
keys,
course,
section 
)

Used to display the course structure for a course where format=social

This is called automatically by load_course() if the current course format = weeks and the navigation was requested via AJAX

Parameters:
array$pathAn array of keys to the course node in the navigation
stdClass$modinfoThe mod info object for the current course
Returns:
bool Returns true

Definition at line 50 of file lib.php.

 All Data Structures Namespaces Files Functions Variables Enumerations