Home
last modified time | relevance | path

Searched refs:core_availability (Results 1 – 25 of 217) sorted by relevance

123456789

/dports/www/moodle310/moodle/availability/tests/fixtures/
H A Dmock_condition.php36 class condition extends \core_availability\condition {
74 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
82 public function get_description($full, $not, \core_availability\info $info) {
89 $full, $not, \core_availability\info $info) {
111 public function filter_user_list(array $users, $not, \core_availability\info $info,
112 \core_availability\capability_checker $checker) {
126 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle39/moodle/availability/tests/fixtures/
H A Dmock_condition.php36 class condition extends \core_availability\condition {
74 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
82 public function get_description($full, $not, \core_availability\info $info) {
89 $full, $not, \core_availability\info $info) {
111 public function filter_user_list(array $users, $not, \core_availability\info $info,
112 \core_availability\capability_checker $checker) {
126 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle311/moodle/availability/tests/fixtures/
H A Dmock_condition.php36 class condition extends \core_availability\condition {
74 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
82 public function get_description($full, $not, \core_availability\info $info) {
89 $full, $not, \core_availability\info $info) {
111 public function filter_user_list(array $users, $not, \core_availability\info $info,
112 \core_availability\capability_checker $checker) {
126 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle310/moodle/availability/condition/grade/tests/
H A Dcondition_test.php59 $info = new \core_availability\info_module($cm);
71 $information = \core_availability\info::format_info($information, $course);
80 $information = \core_availability\info::format_info($information, $course);
89 $information = \core_availability\info::format_info($information, $course);
98 $information = \core_availability\info::format_info($information, $course);
107 $information = \core_availability\info::format_info($information, $course);
116 $information = \core_availability\info::format_info($information, $course);
125 $information = \core_availability\info::format_info($information, $course);
138 $information = \core_availability\info::format_info($information, $course);
146 $information = \core_availability\info::format_info($information, $course);
/dports/www/moodle311/moodle/availability/condition/grade/tests/
H A Dcondition_test.php59 $info = new \core_availability\info_module($cm);
71 $information = \core_availability\info::format_info($information, $course);
80 $information = \core_availability\info::format_info($information, $course);
89 $information = \core_availability\info::format_info($information, $course);
98 $information = \core_availability\info::format_info($information, $course);
107 $information = \core_availability\info::format_info($information, $course);
116 $information = \core_availability\info::format_info($information, $course);
125 $information = \core_availability\info::format_info($information, $course);
138 $information = \core_availability\info::format_info($information, $course);
146 $information = \core_availability\info::format_info($information, $course);
/dports/www/moodle310/moodle/availability/condition/date/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
94 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
136 public function get_description($full, $not, \core_availability\info $info) {
141 $full, $not, \core_availability\info $info) {
230 $dateoffset = \core_availability\info::get_restore_date_offset($restoreid);
256 $info = new \core_availability\info_module($cm);
279 $info = new \core_availability\info_section($section);
/dports/www/moodle310/moodle/availability/condition/grouping/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
81 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
111 protected function get_grouping_id(\core_availability\info $info) {
124 public function get_description($full, $not, \core_availability\info $info) {
224 public function filter_user_list(array $users, $not, \core_availability\info $info,
225 \core_availability\capability_checker $checker) {
283 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle311/moodle/availability/condition/date/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
94 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
136 public function get_description($full, $not, \core_availability\info $info) {
141 $full, $not, \core_availability\info $info) {
230 $dateoffset = \core_availability\info::get_restore_date_offset($restoreid);
256 $info = new \core_availability\info_module($cm);
279 $info = new \core_availability\info_section($section);
/dports/www/moodle311/moodle/availability/condition/grouping/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
81 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
111 protected function get_grouping_id(\core_availability\info $info) {
124 public function get_description($full, $not, \core_availability\info $info) {
224 public function filter_user_list(array $users, $not, \core_availability\info $info,
225 \core_availability\capability_checker $checker) {
283 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle39/moodle/availability/condition/date/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
94 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
136 public function get_description($full, $not, \core_availability\info $info) {
141 $full, $not, \core_availability\info $info) {
230 $dateoffset = \core_availability\info::get_restore_date_offset($restoreid);
256 $info = new \core_availability\info_module($cm);
279 $info = new \core_availability\info_section($section);
/dports/www/moodle39/moodle/availability/condition/grouping/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
81 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
111 protected function get_grouping_id(\core_availability\info $info) {
124 public function get_description($full, $not, \core_availability\info $info) {
225 public function filter_user_list(array $users, $not, \core_availability\info $info,
226 \core_availability\capability_checker $checker) {
284 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle310/moodle/availability/classes/
H A Dtree_node.php25 namespace core_availability; namespace
67 \core_availability\info $info, $grabthelot, $userid);
191 \core_availability\info $info, capability_checker $checker) {
223 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle311/moodle/availability/classes/
H A Dtree_node.php25 namespace core_availability; namespace
67 \core_availability\info $info, $grabthelot, $userid);
191 \core_availability\info $info, capability_checker $checker) {
223 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle39/moodle/availability/classes/
H A Dtree_node.php25 namespace core_availability; namespace
67 \core_availability\info $info, $grabthelot, $userid);
191 \core_availability\info $info, capability_checker $checker) {
223 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle310/moodle/availability/condition/group/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
68 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
93 public function get_description($full, $not, \core_availability\info $info) {
192 public function filter_user_list(array $users, $not, \core_availability\info $info,
193 \core_availability\capability_checker $checker) {
256 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle311/moodle/availability/condition/group/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
68 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
93 public function get_description($full, $not, \core_availability\info $info) {
192 public function filter_user_list(array $users, $not, \core_availability\info $info,
193 \core_availability\capability_checker $checker) {
256 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle39/moodle/availability/condition/group/classes/
H A Dcondition.php36 class condition extends \core_availability\condition {
68 public function is_available($not, \core_availability\info $info, $grabthelot, $userid) {
93 public function get_description($full, $not, \core_availability\info $info) {
193 public function filter_user_list(array $users, $not, \core_availability\info $info,
194 \core_availability\capability_checker $checker) {
257 public function get_user_list_sql($not, \core_availability\info $info, $onlyactive) {
/dports/www/moodle310/moodle/availability/condition/completion/tests/
H A Dcondition_test.php80 $info = new \core_availability\mock_info($course, $USER->id);
93 $tree = new \core_availability\tree($structure);
219 $info = new \core_availability\mock_info($course, $user->id);
227 $information = \core_availability\info::format_info($information, $course);
238 $information = \core_availability\info::format_info($information, $course);
252 $information = \core_availability\info::format_info($information, $course);
261 $information = \core_availability\info::format_info($information, $course);
291 $information = \core_availability\info::format_info($information, $course);
300 $information = \core_availability\info::format_info($information, $course);
324 $information = \core_availability\info::format_info($information, $course);
[all …]
/dports/www/moodle311/moodle/availability/condition/completion/tests/
H A Dcondition_test.php80 $info = new \core_availability\mock_info($course, $USER->id);
93 $tree = new \core_availability\tree($structure);
219 $info = new \core_availability\mock_info($course, $user->id);
227 $information = \core_availability\info::format_info($information, $course);
238 $information = \core_availability\info::format_info($information, $course);
252 $information = \core_availability\info::format_info($information, $course);
261 $information = \core_availability\info::format_info($information, $course);
291 $information = \core_availability\info::format_info($information, $course);
300 $information = \core_availability\info::format_info($information, $course);
324 $information = \core_availability\info::format_info($information, $course);
[all …]
/dports/www/moodle39/moodle/availability/condition/completion/tests/
H A Dcondition_test.php80 $info = new \core_availability\mock_info($course, $USER->id);
93 $tree = new \core_availability\tree($structure);
219 $info = new \core_availability\mock_info($course, $user->id);
227 $information = \core_availability\info::format_info($information, $course);
238 $information = \core_availability\info::format_info($information, $course);
252 $information = \core_availability\info::format_info($information, $course);
261 $information = \core_availability\info::format_info($information, $course);
291 $information = \core_availability\info::format_info($information, $course);
300 $information = \core_availability\info::format_info($information, $course);
324 $information = \core_availability\info::format_info($information, $course);
[all …]
/dports/www/moodle310/moodle/availability/condition/group/tests/
H A Dcondition_test.php62 $info = new \core_availability\mock_info($course, $user->id);
76 $information = \core_availability\info::format_info($information, $course);
89 $information = \core_availability\info::format_info($information, $course);
101 $information = \core_availability\info::format_info($information, $course);
114 $information = \core_availability\info::format_info($information, $course);
195 $info = new \core_availability\mock_info($course);
209 $checker = new \core_availability\capability_checker($info->get_context());
/dports/www/moodle311/moodle/availability/condition/group/tests/
H A Dcondition_test.php62 $info = new \core_availability\mock_info($course, $user->id);
76 $information = \core_availability\info::format_info($information, $course);
89 $information = \core_availability\info::format_info($information, $course);
101 $information = \core_availability\info::format_info($information, $course);
114 $information = \core_availability\info::format_info($information, $course);
195 $info = new \core_availability\mock_info($course);
209 $checker = new \core_availability\capability_checker($info->get_context());
/dports/www/moodle310/moodle/availability/condition/profile/tests/
H A Dcondition_test.php77 $info = new \core_availability\mock_info();
83 $tree = new \core_availability\tree($structure);
226 $info = new \core_availability\mock_info();
316 $information = \core_availability\info::format_info($information, $info->get_course());
334 $info = new \core_availability\mock_info();
392 \core_availability\info $info, $userid) {
398 $information = \core_availability\info::format_info($information, $info->get_course());
407 $information = \core_availability\info::format_info($information, $info->get_course());
436 $info = new \core_availability\mock_info($course);
437 $checker = new \core_availability\capability_checker($info->get_context());
[all …]
/dports/www/moodle311/moodle/availability/condition/profile/tests/
H A Dcondition_test.php73 $info = new \core_availability\mock_info();
79 $tree = new \core_availability\tree($structure);
222 $info = new \core_availability\mock_info();
312 $information = \core_availability\info::format_info($information, $info->get_course());
330 $info = new \core_availability\mock_info();
386 \core_availability\info $info, $userid) {
392 $information = \core_availability\info::format_info($information, $info->get_course());
401 $information = \core_availability\info::format_info($information, $info->get_course());
430 $info = new \core_availability\mock_info($course);
431 $checker = new \core_availability\capability_checker($info->get_context());
[all …]
/dports/www/moodle310/moodle/availability/condition/completion/classes/
H A Dcondition.php28 use core_availability\info;
29 use core_availability\info_module;
30 use core_availability\info_section;
44 class condition extends \core_availability\condition {
471 $ci = new \core_availability\info_module($othercm);
486 $ci = new \core_availability\info_section($section);

123456789