Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37670

Re: API call or this-> function to find the current course section?

$
0
0
by Jitendra Gaur.  

Hi Brian,

I did not understand the exact requirement but there are couple of moodle function in course/lib.php

which you can call. There are some functions related to section - 

get_all_sections($courseid)

print_section($course, $section, $mods, $modnamesused, $absolute=false, $width="100%", $hidecompletion=false, $sectionreturn=null)

Thanks 


Viewing all articles
Browse latest Browse all 37670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>