Lines Matching refs:hlp
24 $hlp = new \helper_plugin_lms();
29 array_keys($hlp->getUserLessons('test'))
33 $hlp->markLesson('foo', 'test', true);
36 array_keys($hlp->getUserLessons('test'))
40 $hlp->markLesson('bar', 'test', true);
43 array_keys($hlp->getUserLessons('test'))
47 $hlp->markLesson('foo', 'test', false);
50 array_keys($hlp->getUserLessons('test'))
55 $hlp = new \helper_plugin_lms();
59 $result = $hlp->getNextLesson($id);
64 $result = $hlp->getNextLesson($id);
69 $result = $hlp->getNextLesson($id);
72 $hlp->markLesson('foo:bar', 'test', true);
73 $result = $hlp->getNextLesson($id, 'test');
78 $hlp = new \helper_plugin_lms();
82 $result = $hlp->getPrevLesson('nope');
87 $result = $hlp->getPrevLesson('this');
92 $result = $hlp->getPrevLesson($id);
95 $hlp->markLesson('foo:bar', 'test', true);
96 $result = $hlp->getPrevLesson('another_link', 'test');
102 $hlp = new \helper_plugin_lms();
104 $result = $this->callInaccessibleMethod($hlp, 'parseControlPage', ['lms']);
121 $hlp = new \helper_plugin_lms();
123 $result = $this->callInaccessibleMethod($hlp, 'parseControlPage', ['foo:lms']);
137 $hlp = new \helper_plugin_lms();
139 $result = $this->callInaccessibleMethod($hlp, 'parseControlPage', ['nope']);