예제 #1
0
파일: renderer.php 프로젝트: janeklb/moodle
 /**
  * Render a modchooser.
  *
  * @param renderable $modchooser The chooser.
  * @return string
  */
 public function render_modchooser(renderable $modchooser)
 {
     return $this->render_from_template('core_course/modchooser', $modchooser->export_for_template($this));
 }
예제 #2
0
 /**
  * Render a qbank_chooser.
  *
  * @param renderable $qbankchooser The chooser.
  * @return string
  */
 public function render_qbank_chooser(renderable $qbankchooser)
 {
     return $this->render_from_template('core_question/qbank_chooser', $qbankchooser->export_for_template($this));
 }