Lines Matching refs:seen
71 $seen = $this->hlp->getLesson($INFO['id'], $this->user);
72 if ($seen === false) return true; // we're not on a lesson page
76 $renderer->doc .= $this->toggleButton($seen);
110 * Toggle seen status
112 * @param bool|null $seen current seen status
115 public function toggleButton($seen = null)
119 if ($seen === null) {
120 $seen = $this->hlp->getLesson($INFO['id'], $this->user);
123 if ($seen) {
126 return $this->makeLink($INFO['id'], 'seen');