/** * function that return a specific history test * * @global db $dh * * @return array an array composed of 'html', 'path' and 'title' keys */ protected function view_history_tests() { $array = parent::view_history_tests(); $array['path'] = '<a href="' . $this->filepath . '?op=' . $this->what . '&id_course_instance=' . $this->course_instanceObj->id . '&id_course=' . $this->courseObj->id . '">' . translateFN('Storico') . ' ' . ucfirst($this->plurale) . '</a> > <a href="' . $this->filepath . '?op=' . $this->what . '&id_course_instance=' . $this->course_instanceObj->id . '&id_course=' . $this->courseObj->id . '&id_test=' . $this->test['id_nodo'] . '">' . $this->test['titolo'] . '</a> > ' . translateFN('Tentativo') . ' #' . $this->history_test['id_history_test']; $array['title'] = translateFN('Storico') . ' ' . ucfirst($this->plurale); return $array; }