Ejemplo n.º 1
0
 protected function GETnotes(Student $student, $topic, $index)
 {
     $view = new View(self::layout);
     $this->evaluation = Data::FACTORY($topic, $student->evaluation($topic, $index));
     $this->url = $student->context['@url'] . "/{$topic}/{$index}";
     $this->files = \models\Assessment::Links($this->url);
     $this->template = 'editor';
     $view->context = "views/layouts/notes.html";
     $view->content = "views/layouts/inspector.html";
     return $view->render($this());
 }