[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
This file contains main class for the course format Social
Copyright: | 2009 Sam Hemelryk |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 78 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
format_social:: (3 methods):
get_view_url()
extend_course_navigation()
get_default_blocks()
Class: format_social - X-Ref
Main class for the Social course formatget_view_url($section, $options = array() X-Ref |
The URL to use for the specified course param: int|stdClass $section Section object from database or just field course_sections.section param: array $options options for view URL. At the moment core uses: return: null|moodle_url |
extend_course_navigation($navigation, navigation_node $node) X-Ref |
Loads all of the course sections into the navigation param: global_navigation $navigation param: navigation_node $node The course node within the navigation |
get_default_blocks() X-Ref |
Returns the list of blocks to be automatically added for the newly created course return: array of default blocks, must contain two keys BLOCK_POS_LEFT and BLOCK_POS_RIGHT |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |