Find the local.xml in local \magentoappetclocal.xml <pre class="brush:xml"> <config>…
June 15, 2015
Moodle: 获取老师的课程 Get Faculty Course Profiles
直接代码:
require_once('config.php'); //if (!isloggedin()) exit('<script>location="/moodle/login/"</script>'); require_once($CFG->dirroot .'/course/lib.php'); require_once($CFG->libdir .'/filelib.php'); $user_id = 3; $mycourses = enrol_get_all_users_courses($user_id, true, null, 'visible DESC, sortorder ASC'); echo '<pre>'; print_r($mycourses); echo '</pre>';
原文:Moodle: 获取老师的课程 Get Faculty Course Profiles
One Comment
Whats up very cool website!! Man .. Excellent ..
Wonderful .. I’ll bookmark your website and take the
feeds also? I’m happy to find a lot of useful info here within the put
up, we want work out more techniques in this regard, thanks for sharing.
. . . . .