Example #1
0
 function moodle_keyword_service($userid)
 {
     global $CFG;
     $moodlemia = moodle_marginalia::get_instance();
     KeywordService::KeywordService($moodlemia->get_host(), $moodlemia->get_keyword_service_path(), $userid, $CFG->wwwroot);
     $this->tablePrefix = $CFG->prefix;
 }
Example #2
0
 function moodle_keyword_service($username)
 {
     global $CFG;
     KeywordService::KeywordService(annotation_globals::get_host(), annotation_globals::get_keyword_service_path(), $username, $CFG->wwwroot);
     $this->tablePrefix = $CFG->prefix;
 }