Esempio n. 1
0
 function v6_expand_NextExURL()
 {
     $url = $this->parent->xml_value('hotpot-config-file,' . $this->parent->quiztype . ',next-ex-url');
     if ($url) {
         $url = hotpot_convert_navbutton_url($this->parent->get_baseurl(), $this->parent->reference, $url, $this->parent->course);
     }
     return $url;
 }
Esempio n. 2
0
 function callback_navbutton_url(&$matches)
 {
     return hotpot_convert_navbutton_url($this->get_baseurl(), $this->reference, $matches[1], $this->course, false);
 }