Good afternoon. There is a code, it will imprint for generation <title>
public function review_page_title(int $page, bool $showall = false) : string {
if (!$showall && $this->get_num_pages() > 1) {
$a = new stdClass();
$a->name = $this->get_quiz_name();
$a->currentpage = $page + 1;
$a->totalpages = $this->get_num_pages();
$title = get_string('attemptreviewtitlepaged', 'quiz', $a);
} else {
$title = get_string('attemptreviewtitle','quiz', $this->get_quiz_name(),);
}
return $title;
How can I display the full name in the title? last name, first name and patronymic.