|
|
|
@ -7939,6 +7939,7 @@ class Exercise |
|
|
|
if (empty($this->exerciseCategoryId)) { |
|
|
|
if (empty($this->exerciseCategoryId)) { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return (int) $this->exerciseCategoryId; |
|
|
|
return (int) $this->exerciseCategoryId; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -8372,6 +8373,7 @@ class Exercise |
|
|
|
* Return an HTML table of exercises for on-screen printing, including |
|
|
|
* Return an HTML table of exercises for on-screen printing, including |
|
|
|
* action icons. If no exercise is present and the user can edit the |
|
|
|
* action icons. If no exercise is present and the user can edit the |
|
|
|
* course, show a "create test" button. |
|
|
|
* course, show a "create test" button. |
|
|
|
|
|
|
|
* |
|
|
|
* @param int $categoryId |
|
|
|
* @param int $categoryId |
|
|
|
* @param string $keyword |
|
|
|
* @param string $keyword |
|
|
|
* |
|
|
|
* |
|
|
|
|