| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class CExerciseCategoryRepository extends ResourceRepository |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Gets the number of values stored in the table (all fields together) |
||
| 15 | * for this type of resource. |
||
| 16 | * |
||
| 17 | * @param int $courseId |
||
| 18 | * |
||
| 19 | * @return int Number of rows in the table |
||
| 20 | */ |
||
| 21 | public function getCourseCount($courseId) |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param int $courseId |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function getCategories($courseId) |
||
| 46 |