PHPDoc documentation
This commit is contained in:
parent
96f311a30b
commit
6bcc44f584
|
@ -248,7 +248,7 @@ class courseinfo {
|
|||
], 'referenced course information', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Webservice model for basic info
|
||||
* @return array Webservice data model
|
||||
*/
|
||||
|
|
|
@ -320,8 +320,8 @@ class studyitem {
|
|||
global $DB;
|
||||
|
||||
foreach ($resequence as $sq) {
|
||||
// Only change line_id if new line is within the same studyplan page
|
||||
if ( studyitem::find_by_id($sq['id'])->studyline()->page()->id() ==
|
||||
// Only change line_id if new line is within the same studyplan page.
|
||||
if ( self::find_by_id($sq['id'])->studyline()->page()->id() ==
|
||||
studyline::find_by_id($sq['line_id'])->page()->id() ) {
|
||||
$DB->update_record(self::TABLE, [
|
||||
'id' => $sq['id'],
|
||||
|
|
|
@ -145,7 +145,7 @@ class studyplan {
|
|||
], 'Basic studyplan info', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Webservice model for basic info
|
||||
* @return array Webservice data model
|
||||
*/
|
||||
|
|
|
@ -42,7 +42,7 @@ class studyplanpage {
|
|||
* Holds database record
|
||||
* @var stdClass
|
||||
*/
|
||||
private $r; // Holds database record.
|
||||
private $r;
|
||||
/** @var int */
|
||||
private $id;
|
||||
/** @var studyplan*/
|
||||
|
@ -157,7 +157,7 @@ class studyplanpage {
|
|||
], 'Studyplan page basic info', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Webservice model for basic info
|
||||
* @return array Webservice data model
|
||||
*/
|
||||
|
|
|
@ -1001,7 +1001,7 @@ class studyplanservice extends \external_api {
|
|||
* @param int $scaleid Id of scale to use
|
||||
* @return array
|
||||
*/
|
||||
public static function force_studyplan_scale($studyplanid, $scaleid) {
|
||||
public static function force_studyplan_scale($studyplanid, $scaleid) {
|
||||
global $DB;
|
||||
$dbman = $DB->get_manager();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user