PHPDoc documentation
This commit is contained in:
parent
96f311a30b
commit
6bcc44f584
8 changed files with 26 additions and 26 deletions
|
@ -320,8 +320,8 @@ class studyitem {
|
||||||
global $DB;
|
global $DB;
|
||||||
|
|
||||||
foreach ($resequence as $sq) {
|
foreach ($resequence as $sq) {
|
||||||
// Only change line_id if new line is within the same studyplan page
|
// Only change line_id if new line is within the same studyplan page.
|
||||||
if ( studyitem::find_by_id($sq['id'])->studyline()->page()->id() ==
|
if ( self::find_by_id($sq['id'])->studyline()->page()->id() ==
|
||||||
studyline::find_by_id($sq['line_id'])->page()->id() ) {
|
studyline::find_by_id($sq['line_id'])->page()->id() ) {
|
||||||
$DB->update_record(self::TABLE, [
|
$DB->update_record(self::TABLE, [
|
||||||
'id' => $sq['id'],
|
'id' => $sq['id'],
|
||||||
|
|
|
@ -42,7 +42,7 @@ class studyplanpage {
|
||||||
* Holds database record
|
* Holds database record
|
||||||
* @var stdClass
|
* @var stdClass
|
||||||
*/
|
*/
|
||||||
private $r; // Holds database record.
|
private $r;
|
||||||
/** @var int */
|
/** @var int */
|
||||||
private $id;
|
private $id;
|
||||||
/** @var studyplan*/
|
/** @var studyplan*/
|
||||||
|
|
Loading…
Reference in a new issue