mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
fixed a few spelling problems and standardised stdClass
This commit is contained in:
parent
1c5765dd7a
commit
5924db724d
28 changed files with 151 additions and 151 deletions
|
@ -97,7 +97,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
* authorid, authorfirstname, authorlastname, authorpicture, authorimagealt and email. Optional
|
||||
* property is status (graded, notgraded).
|
||||
*
|
||||
* @param stdclass $submission The submission record
|
||||
* @param stdClass $submission The submission record
|
||||
* @param bool $showauthorname Should the author name be displayed
|
||||
* @return string html to be echoed
|
||||
*/
|
||||
|
@ -157,7 +157,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
*
|
||||
* By default, this looks similar to a forum post.
|
||||
*
|
||||
* @param stdclass $submission The submission data
|
||||
* @param stdClass $submission The submission data
|
||||
* @param bool $showauthorname Should the author name be displayed
|
||||
* @return string html to be echoed
|
||||
*/
|
||||
|
@ -218,7 +218,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
* If format==html, then format a html string. If format==text, then format a text-only string.
|
||||
* Otherwise, returns html for non-images and html to display the image inline.
|
||||
*
|
||||
* @param stdclass $submission Submission record
|
||||
* @param stdClass $submission Submission record
|
||||
* @param string format The format of the returned string
|
||||
* @return string HTML code to be echoed
|
||||
*/
|
||||
|
@ -282,7 +282,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
*
|
||||
* The passed submission object must define at least: id and title
|
||||
*
|
||||
* @param stdclass $data prepared by workshop::prepare_example_summary()
|
||||
* @param stdClass $data prepared by workshop::prepare_example_summary()
|
||||
* @return string html to be echoed
|
||||
*/
|
||||
public function example_summary(stdclass $summary) {
|
||||
|
@ -328,7 +328,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
*
|
||||
* By default, this looks similar to a forum post.
|
||||
*
|
||||
* @param stdclass $example The example submission data
|
||||
* @param stdClass $example The example submission data
|
||||
* @return string html to be echoed
|
||||
*/
|
||||
public function example_full(stdclass $example) {
|
||||
|
@ -405,7 +405,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
/**
|
||||
* Renders the tasks for the single phase in the user plan
|
||||
*
|
||||
* @param stdclass $tasks
|
||||
* @param stdClass $tasks
|
||||
* @return string html code
|
||||
*/
|
||||
protected function user_plan_tasks(array $tasks) {
|
||||
|
@ -441,8 +441,8 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
* Grades must be already rounded to the set number of decimals or must be null (in which later case,
|
||||
* the [[nullgrade]] string shall be displayed).
|
||||
*
|
||||
* @param stdclass $data prepared by {@link workshop::prepare_grading_report()}
|
||||
* @param stdclass $options display options object with properties ->showauthornames ->showreviewernames ->sortby ->sorthow
|
||||
* @param stdClass $data prepared by {@link workshop::prepare_grading_report()}
|
||||
* @param stdClass $options display options object with properties ->showauthornames ->showreviewernames ->sortby ->sorthow
|
||||
* ->showsubmissiongrade ->showgradinggrade
|
||||
* @return string html code
|
||||
*/
|
||||
|
@ -618,7 +618,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param stdclass $participant
|
||||
* @param stdClass $participant
|
||||
* @param array $userinfo
|
||||
* @return string
|
||||
*/
|
||||
|
@ -631,7 +631,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param stdclass $participant
|
||||
* @param stdClass $participant
|
||||
* @return string
|
||||
*/
|
||||
protected function grading_report_submission(stdclass $participant) {
|
||||
|
@ -650,7 +650,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
|||
|
||||
/**
|
||||
* @todo Highlight the nulls
|
||||
* @param stdclass|null $assessment
|
||||
* @param stdClass|null $assessment
|
||||
* @param bool $shownames
|
||||
* @param string $separator between the grade and the reviewer/author
|
||||
* @return string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue