Home
last modified time | relevance | path

Searched refs:forumentity (Results 1 – 21 of 21) sorted by relevance

/dports/www/moodle310/moodle/mod/forum/
H A Dpost.php83 if (empty($forumentity)) {
89 if (empty($forumentity)) {
95 $modcontext = $forumentity->get_context();
120 if (empty($forumentity)) {
132 $modcontext = $forumentity->get_context();
196 if (empty($forumentity)) {
205 $modcontext = $forumentity->get_context();
310 if (empty($forumentity)) {
367 if (empty($forumentity)) {
518 if (empty($forumentity)) {
[all …]
H A Dexternallib.php2104 if (empty($forumentity)) {
2108 $context = $forumentity->get_context();
2129 $forumentity->get_course_record(),
2130 $forumentity->get_course_module_record(),
2137 $forumentity->get_course_record(),
2138 $forumentity->get_course_module_record(),
2360 if (empty($forumentity)) {
2469 if (empty($forumentity)) {
2473 $context = $forumentity->get_context();
2669 if (empty($forumentity)) {
[all …]
H A Dlib.php749 …$forumentity = $entityfactory->get_forum_from_stdclass($forumrecord, $context, $coursemodule, $cou…
751 $capmanagers[$post->forum] = $managerfactory->get_capability_manager($forumentity);
5521 $forumentity = $forumvault->get_from_id($PAGE->cm->instance);
5522 … $forumobject = $legacydatamapperfactory->get_forum_data_mapper()->to_legacy_object($forumentity);
5675 $capabilitymanager = $managerfactory->get_capability_manager($forumentity);
6443 $forumentity = $entityfactory->get_forum_from_stdclass(
6450 return $forumentity->is_cutoff_date_reached();
6463 $forumentity = $entityfactory->get_forum_from_stdclass(
6470 return $forumentity->is_due_date_reached();
6484 $forumentity = $entityfactory->get_forum_from_stdclass(
[all …]
/dports/www/moodle311/moodle/mod/forum/
H A Dpost.php83 if (empty($forumentity)) {
89 if (empty($forumentity)) {
95 $modcontext = $forumentity->get_context();
120 if (empty($forumentity)) {
132 $modcontext = $forumentity->get_context();
196 if (empty($forumentity)) {
205 $modcontext = $forumentity->get_context();
310 if (empty($forumentity)) {
367 if (empty($forumentity)) {
518 if (empty($forumentity)) {
[all …]
H A Dexternallib.php2113 if (empty($forumentity)) {
2117 $context = $forumentity->get_context();
2138 $forumentity->get_course_record(),
2139 $forumentity->get_course_module_record(),
2146 $forumentity->get_course_record(),
2147 $forumentity->get_course_module_record(),
2369 if (empty($forumentity)) {
2478 if (empty($forumentity)) {
2482 $context = $forumentity->get_context();
2678 if (empty($forumentity)) {
[all …]
H A Dlib.php687 …$forumentity = $entityfactory->get_forum_from_stdclass($forumrecord, $context, $coursemodule, $cou…
689 $capmanagers[$post->forum] = $managerfactory->get_capability_manager($forumentity);
5467 $forumentity = $forumvault->get_from_id($PAGE->cm->instance);
5468 … $forumobject = $legacydatamapperfactory->get_forum_data_mapper()->to_legacy_object($forumentity);
5621 $capabilitymanager = $managerfactory->get_capability_manager($forumentity);
6390 $forumentity = $entityfactory->get_forum_from_stdclass(
6397 return $forumentity->is_cutoff_date_reached();
6410 $forumentity = $entityfactory->get_forum_from_stdclass(
6417 return $forumentity->is_due_date_reached();
6431 $forumentity = $entityfactory->get_forum_from_stdclass(
[all …]
/dports/www/moodle39/moodle/mod/forum/
H A Dpost.php83 if (empty($forumentity)) {
89 if (empty($forumentity)) {
95 $modcontext = $forumentity->get_context();
120 if (empty($forumentity)) {
132 $modcontext = $forumentity->get_context();
196 if (empty($forumentity)) {
205 $modcontext = $forumentity->get_context();
310 if (empty($forumentity)) {
367 if (empty($forumentity)) {
518 if (empty($forumentity)) {
[all …]
H A Dexternallib.php2100 if (empty($forumentity)) {
2104 $context = $forumentity->get_context();
2125 $forumentity->get_course_record(),
2126 $forumentity->get_course_module_record(),
2133 $forumentity->get_course_record(),
2134 $forumentity->get_course_module_record(),
2356 if (empty($forumentity)) {
2465 if (empty($forumentity)) {
2469 $context = $forumentity->get_context();
2665 if (empty($forumentity)) {
[all …]
H A Dlib.php749 …$forumentity = $entityfactory->get_forum_from_stdclass($forumrecord, $context, $coursemodule, $cou…
751 $capmanagers[$post->forum] = $managerfactory->get_capability_manager($forumentity);
5466 $forumentity = $forumvault->get_from_id($PAGE->cm->instance);
5467 … $forumobject = $legacydatamapperfactory->get_forum_data_mapper()->to_legacy_object($forumentity);
5620 $capabilitymanager = $managerfactory->get_capability_manager($forumentity);
6388 $forumentity = $entityfactory->get_forum_from_stdclass(
6395 return $forumentity->is_cutoff_date_reached();
6408 $forumentity = $entityfactory->get_forum_from_stdclass(
6415 return $forumentity->is_due_date_reached();
6429 $forumentity = $entityfactory->get_forum_from_stdclass(
[all …]
/dports/www/moodle310/moodle/mod/forum/tests/
H A Dvaults_discussion_test.php83 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $course);
85 $this->assertEquals(null, $vault->get_first_discussion_in_forum($forumentity));
91 $discussionentity = $vault->get_first_discussion_in_forum($forumentity);
109 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $course);
111 $this->assertEquals([], $vault->get_all_discussions_in_forum($forumentity));
117 $discussionentity = $vault->get_all_discussions_in_forum($forumentity);
H A Dmanagers_capability_test.php1273 $forumentity = $forumvault->get_from_id($discussionentity->get_forum_id());
1274 $capabilitymanager = $this->managerfactory->get_capability_manager($forumentity);
1320 $forumentity = $forumvault->get_from_id($discussionentity->get_forum_id());
1321 $capabilitymanager = $this->managerfactory->get_capability_manager($forumentity);
/dports/www/moodle311/moodle/mod/forum/tests/
H A Dvaults_discussion_test.php83 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $course);
85 $this->assertEquals(null, $vault->get_first_discussion_in_forum($forumentity));
91 $discussionentity = $vault->get_first_discussion_in_forum($forumentity);
109 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $course);
111 $this->assertEquals([], $vault->get_all_discussions_in_forum($forumentity));
117 $discussionentity = $vault->get_all_discussions_in_forum($forumentity);
H A Dmanagers_capability_test.php1273 $forumentity = $forumvault->get_from_id($discussionentity->get_forum_id());
1274 $capabilitymanager = $this->managerfactory->get_capability_manager($forumentity);
1320 $forumentity = $forumvault->get_from_id($discussionentity->get_forum_id());
1321 $capabilitymanager = $this->managerfactory->get_capability_manager($forumentity);
/dports/www/moodle39/moodle/mod/forum/tests/
H A Dvaults_discussion_test.php83 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $course);
85 $this->assertEquals(null, $vault->get_first_discussion_in_forum($forumentity));
91 $discussionentity = $vault->get_first_discussion_in_forum($forumentity);
109 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $course);
111 $this->assertEquals([], $vault->get_all_discussions_in_forum($forumentity));
117 $discussionentity = $vault->get_all_discussions_in_forum($forumentity);
H A Dmanagers_capability_test.php1273 $forumentity = $forumvault->get_from_id($discussionentity->get_forum_id());
1274 $capabilitymanager = $this->managerfactory->get_capability_manager($forumentity);
1320 $forumentity = $forumvault->get_from_id($discussionentity->get_forum_id());
1321 $capabilitymanager = $this->managerfactory->get_capability_manager($forumentity);
/dports/www/moodle310/moodle/course/format/social/
H A Dformat.php40 $forumentity = $entityfactory->get_forum_from_stdclass($forum, $modcontext, $coursemodule, $course); variable
76 $discussionsrenderer = $rendererfactory->get_social_discussion_list_renderer($forumentity);
/dports/www/moodle311/moodle/course/format/social/
H A Dformat.php40 $forumentity = $entityfactory->get_forum_from_stdclass($forum, $modcontext, $coursemodule, $course); variable
76 $discussionsrenderer = $rendererfactory->get_social_discussion_list_renderer($forumentity);
/dports/www/moodle39/moodle/course/format/social/
H A Dformat.php40 $forumentity = $entityfactory->get_forum_from_stdclass($forum, $modcontext, $coursemodule, $course); variable
76 $discussionsrenderer = $rendererfactory->get_social_discussion_list_renderer($forumentity);
/dports/www/moodle310/moodle/course/
H A Drenderer.php2341 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $SITE);
2344 …$discussionsrenderer = $rendererfactory->get_frontpage_news_discussion_list_renderer($forumentity);
/dports/www/moodle311/moodle/course/
H A Drenderer.php2384 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $SITE);
2387 …$discussionsrenderer = $rendererfactory->get_frontpage_news_discussion_list_renderer($forumentity);
/dports/www/moodle39/moodle/course/
H A Drenderer.php2373 … $forumentity = $entityfactory->get_forum_from_stdclass($forum, $context, $coursemodule, $SITE);
2376 …$discussionsrenderer = $rendererfactory->get_frontpage_news_discussion_list_renderer($forumentity);