Lines Matching refs:all
15 * Return all lessons and info about the user's current completion status
69 * This skips all lessons that used to be seen but have been marked unseen later
104 $all = $this->getLessons($user);
105 return $all[$id] ?? false;
117 $all = $this->getLessons($user);
119 if (!isset($all[$id])) return false; // current page is not a lesson
121 $keys = array_keys($all);
126 if ($user !== null && $all[$keys[$i]] !== 0) {
145 $all = $this->getLessons($user);
147 if (!isset($all[$id])) return false; // current page is not a lesson
149 $keys = array_keys($all);
153 if ($user !== null && $all[$keys[$i]] !== 0) {