Home
last modified time | relevance | path

Searched refs:get_courses_count (Results 1 – 18 of 18) sorted by relevance

/dports/www/moodle310/moodle/course/tests/
H A Dmanagement_helper_test.php413 $this->assertEquals(1, $cat1->get_courses_count());
414 $this->assertEquals(1, $cat2->get_courses_count());
415 $this->assertEquals(2, $sub1->get_courses_count());
416 $this->assertEquals(0, $sub2->get_courses_count());
423 $this->assertEquals(1, $cat1->get_courses_count());
424 $this->assertEquals(1, $cat2->get_courses_count());
425 $this->assertEquals(0, $sub1->get_courses_count());
426 $this->assertEquals(2, $sub2->get_courses_count());
436 $this->assertEquals(1, $cat1->get_courses_count());
437 $this->assertEquals(1, $cat2->get_courses_count());
[all …]
H A Dcategory_test.php533 $this->assertEquals(3, $cat1->get_courses_count());
538 $this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1)));
543 $this->assertEquals(3, $cat1->get_courses_count(array('sort' => array('fullname' => 1))));
548 …$this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1, 'sort' => array('fullname'…
554 …$this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1, 'offset' => 1, 'limit' => …
557 …$this->assertEquals(3, $cat2->get_courses_count(array('recursive' => 1, 'sort' => array('idnumber'…
/dports/www/moodle39/moodle/course/tests/
H A Dmanagement_helper_test.php413 $this->assertEquals(1, $cat1->get_courses_count());
414 $this->assertEquals(1, $cat2->get_courses_count());
415 $this->assertEquals(2, $sub1->get_courses_count());
416 $this->assertEquals(0, $sub2->get_courses_count());
423 $this->assertEquals(1, $cat1->get_courses_count());
424 $this->assertEquals(1, $cat2->get_courses_count());
425 $this->assertEquals(0, $sub1->get_courses_count());
426 $this->assertEquals(2, $sub2->get_courses_count());
436 $this->assertEquals(1, $cat1->get_courses_count());
437 $this->assertEquals(1, $cat2->get_courses_count());
[all …]
H A Dcategory_test.php533 $this->assertEquals(3, $cat1->get_courses_count());
538 $this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1)));
543 $this->assertEquals(3, $cat1->get_courses_count(array('sort' => array('fullname' => 1))));
548 …$this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1, 'sort' => array('fullname'…
554 …$this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1, 'offset' => 1, 'limit' => …
557 …$this->assertEquals(3, $cat2->get_courses_count(array('recursive' => 1, 'sort' => array('idnumber'…
/dports/www/moodle311/moodle/course/tests/
H A Dmanagement_helper_test.php413 $this->assertEquals(1, $cat1->get_courses_count());
414 $this->assertEquals(1, $cat2->get_courses_count());
415 $this->assertEquals(2, $sub1->get_courses_count());
416 $this->assertEquals(0, $sub2->get_courses_count());
423 $this->assertEquals(1, $cat1->get_courses_count());
424 $this->assertEquals(1, $cat2->get_courses_count());
425 $this->assertEquals(0, $sub1->get_courses_count());
426 $this->assertEquals(2, $sub2->get_courses_count());
436 $this->assertEquals(1, $cat1->get_courses_count());
437 $this->assertEquals(1, $cat2->get_courses_count());
[all …]
H A Dcategory_test.php533 $this->assertEquals(3, $cat1->get_courses_count());
538 $this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1)));
543 $this->assertEquals(3, $cat1->get_courses_count(array('sort' => array('fullname' => 1))));
548 …$this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1, 'sort' => array('fullname'…
554 …$this->assertEquals(6, $cat1->get_courses_count(array('recursive' => 1, 'offset' => 1, 'limit' => …
557 …$this->assertEquals(3, $cat2->get_courses_count(array('recursive' => 1, 'sort' => array('idnumber'…
/dports/www/moodle310/moodle/course/ajax/
H A Dmanagement.php61 $totalcourses = $oldcategory->get_courses_count();
74 $outcome->totalcatcourses = $category->get_courses_count();
/dports/www/moodle311/moodle/course/ajax/
H A Dmanagement.php61 $totalcourses = $oldcategory->get_courses_count();
74 $outcome->totalcatcourses = $category->get_courses_count();
/dports/www/moodle39/moodle/course/ajax/
H A Dmanagement.php61 $totalcourses = $oldcategory->get_courses_count();
74 $outcome->totalcatcourses = $category->get_courses_count();
/dports/www/moodle310/moodle/course/
H A Drenderer.php1554 … $content .= $this->coursecat_courses($chelper, $courses, $coursecat->get_courses_count());
1587 …get_show_courses() >= self::COURSECAT_SHOW_COURSES_COLLAPSED && $coursecat->get_courses_count())) {
1619 && ($coursescount = $coursecat->get_courses_count())) {
1764 } else if ($browse === 'categories' || !$coursecat->get_courses_count()) {
2116 …$totalcount = core_course_category::top()->get_courses_count($chelper->get_courses_display_options…
/dports/www/moodle311/moodle/course/
H A Drenderer.php1584 … $content .= $this->coursecat_courses($chelper, $courses, $coursecat->get_courses_count());
1617 …get_show_courses() >= self::COURSECAT_SHOW_COURSES_COLLAPSED && $coursecat->get_courses_count())) {
1649 && ($coursescount = $coursecat->get_courses_count())) {
1794 } else if ($browse === 'categories' || !$coursecat->get_courses_count()) {
2146 …$totalcount = core_course_category::top()->get_courses_count($chelper->get_courses_display_options…
/dports/www/moodle39/moodle/course/
H A Drenderer.php1581 … $content .= $this->coursecat_courses($chelper, $courses, $coursecat->get_courses_count());
1614 …get_show_courses() >= self::COURSECAT_SHOW_COURSES_COLLAPSED && $coursecat->get_courses_count())) {
1646 && ($coursescount = $coursecat->get_courses_count())) {
1791 } else if ($browse === 'categories' || !$coursecat->get_courses_count()) {
2148 …$totalcount = core_course_category::top()->get_courses_count($chelper->get_courses_display_options…
/dports/www/moodle310/moodle/course/classes/
H A Dmanagement_renderer.php293 html_writer::span($category->get_courses_count()) .
569 $totalcourses = $category->get_courses_count();
H A Dcategory.php1879 public function get_courses_count($options = array()) { function in core_course_category
2810 return $this->has_manage_capability() && $this->coursecount == $this->get_courses_count();
/dports/www/moodle311/moodle/course/classes/
H A Dmanagement_renderer.php293 html_writer::span($category->get_courses_count()) .
569 $totalcourses = $category->get_courses_count();
H A Dcategory.php1880 public function get_courses_count($options = array()) { function in core_course_category
2811 return $this->has_manage_capability() && $this->coursecount == $this->get_courses_count();
/dports/www/moodle39/moodle/course/classes/
H A Dmanagement_renderer.php293 html_writer::span($category->get_courses_count()) .
569 $totalcourses = $category->get_courses_count();
H A Dcategory.php1879 public function get_courses_count($options = array()) { function in core_course_category
2807 return $this->has_manage_capability() && $this->coursecount == $this->get_courses_count();