MoodleNet share progress table.
More...
|
| __construct ($uniqueid, $url, $userid) |
| Set up the table.
|
|
| print_nothing_to_display () |
| Notification to display when there are no results.
|
|
| query_db ($pagesize, $useinitialsbar=true) |
| Query the DB.
|
|
|
| col_name (stdClass $row) |
| Name column.
|
|
| col_status (stdClass $row) |
| Status column (Send status).
|
|
| col_timecreated (stdClass $row) |
| Time created column (Send date).
|
|
| col_type (stdClass $row) |
| Type column.
|
|
| define_table_columns () |
| Set up the columns and headers.
|
|
| define_table_configs () |
| Define table configs.
|
|
| get_sql_and_params ($count=false) |
| Builds the SQL query.
|
|
|
int | $userid |
| The user id records will be displayed for.
|
|
◆ __construct()
core\moodlenet\share_progress_table::__construct |
( |
| $uniqueid, |
|
|
| $url, |
|
|
| $userid ) |
Set up the table.
- Parameters
-
string | $uniqueid | Unique id of table. |
moodle_url | $url | The base URL. |
int | $userid | The user id. |
◆ col_name()
core\moodlenet\share_progress_table::col_name |
( |
stdClass | $row | ) |
|
|
protected |
Name column.
- Parameters
-
- Return values
-
◆ col_status()
core\moodlenet\share_progress_table::col_status |
( |
stdClass | $row | ) |
|
|
protected |
Status column (Send status).
- Parameters
-
- Return values
-
◆ col_timecreated()
core\moodlenet\share_progress_table::col_timecreated |
( |
stdClass | $row | ) |
|
|
protected |
Time created column (Send date).
- Parameters
-
- Return values
-
◆ col_type()
core\moodlenet\share_progress_table::col_type |
( |
stdClass | $row | ) |
|
|
protected |
Type column.
- Parameters
-
- Return values
-
◆ get_sql_and_params()
core\moodlenet\share_progress_table::get_sql_and_params |
( |
| $count = false | ) |
|
|
protected |
Builds the SQL query.
- Parameters
-
bool | $count | When true, return the count SQL. |
- Return values
-
array | containing sql to use and an array of params. |
◆ query_db()
core\moodlenet\share_progress_table::query_db |
( |
| $pagesize, |
|
|
| $useinitialsbar = true ) |
Query the DB.
- Parameters
-
int | $pagesize | size of page for paginated displayed table. |
bool | $useinitialsbar | do you want to use the initials bar. |
The documentation for this class was generated from the following file:
- lib/classes/moodlenet/share_progress_table.php