Skip to content

Commit a587d98

Browse files
committed
Issue #138: Ensure classes do not use dynamic properties
1 parent e1f6d75 commit a587d98

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

classes/table/timeslots/timeslots_table.php

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
*/
3939
class timeslots_table extends \table_sql implements \renderable {
4040

41+
/** @var int Display mode for table. */
42+
public $displaymode = 0;
43+
4144
/**
4245
* Constructs the table and defines how the data from the SQL query is displayed
4346
* @param string $uniqueid ID that uniquely identifies this element on the HTML page

classes/table/viewpoints/viewpoints_table.php

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@
3838
*/
3939
class viewpoints_table extends \table_sql implements \renderable {
4040

41+
42+
/** @var context\system System context. */
43+
protected $context = 0;
44+
45+
/** @var int Display mode for table. */
46+
protected $displaymode = 0;
47+
4148
/**
4249
* Constructs the table and defines how the data from the SQL query is displayed
4350
* @param string $uniqueid ID that uniquely identifies this element on the HTML page

classes/table/viewsessions/viewsessions_table.php

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
*/
3939
class viewsessions_table extends \table_sql implements \renderable {
4040

41+
/** @var context\system System context. */
42+
protected $context = 0;
43+
4144
/**
4245
* Constructs the table and defines how the data from the SQL query is displayed
4346
* @param string $uniqueid ID that uniquely identifies this element on the HTML page

0 commit comments

Comments
 (0)