示例#1
0
 /**
  * init
  *
  * @param xxx $hotpot
  */
 function init($hotpot)
 {
     parent::init($hotpot);
     // replace standard jcloze.js with jmemori.js
     $this->javascripts = preg_grep('/jmatch.js/', $this->javascripts, PREG_GREP_INVERT);
     array_push($this->javascripts, 'mod/hotpot/attempt/hp/6/jmatch/jmemori.js');
 }