Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/course/format/social/lib.php
Go to the documentation of this file.
00001 <?php
00002 // This file is part of Moodle - http://moodle.org/
00003 //
00004 // Moodle is free software: you can redistribute it and/or modify
00005 // it under the terms of the GNU General Public License as published by
00006 // the Free Software Foundation, either version 3 of the License, or
00007 // (at your option) any later version.
00008 //
00009 // Moodle is distributed in the hope that it will be useful,
00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 // GNU General Public License for more details.
00013 //
00014 // You should have received a copy of the GNU General Public License
00015 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
00016 
00036 function callback_social_load_content(&$navigation, $course, $coursenode) {
00037     return $navigation->load_generic_course_sections($course, $coursenode, 'social');
00038 }
00039 
00050 function limited_load_section_social(&$navigation, $keys, $course, $section) {
00051     $navigation->limited_load_section_generic($keys, $course, $section, get_string('social'), 'social');
00052 }
00053 
00059 function callback_social_uses_sections() {
00060     return false;
00061 }
00062 
00069 function callback_social_definition() {
00070     return get_string('topic');
00071 }
00072 
00079 function callback_social_request_key() {
00080     return 'social';
00081 }
00082 
00088 function callback_social_display_content() {
00089     return false;
00090 }
00091 
00092 
 All Data Structures Namespaces Files Functions Variables Enumerations