Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-tool_lifecycle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-tool_lifecycle
Commits
98b7cab0
Commit
98b7cab0
authored
5 years ago
by
Justus Dieckmann
Committed by
Tobias Reischmann
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Delays: Edit docs to make the PHPDoc Checker happy
parent
00774c52
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
classes/form/form_delays_filter.php
+1
-0
1 addition, 0 deletions
classes/form/form_delays_filter.php
classes/table/delayed_courses_table.php
+13
-5
13 additions, 5 deletions
classes/table/delayed_courses_table.php
with
14 additions
and
5 deletions
classes/form/form_delays_filter.php
+
1
−
0
View file @
98b7cab0
...
...
@@ -119,6 +119,7 @@ class form_delays_filter extends \moodleform {
}
/**
* Gets the cache.
* @return cache the cache to get the cached mform data.
*/
private
function
get_cache
()
{
...
...
This diff is collapsed.
Click to expand it.
classes/table/delayed_courses_table.php
+
13
−
5
View file @
98b7cab0
...
...
@@ -36,13 +36,14 @@ require_once($CFG->libdir . '/tablelib.php');
*/
class
delayed_courses_table
extends
\table_sql
{
/** @var
$workflow
null|int|string workflow to filter for. Might be workflowid or "global" to filter for global delays. */
/** @var null|int|string
$workflow
workflow to filter for. Might be workflowid or "global" to filter for global delays. */
private
$workflow
;
/**
* Constructor for delayed_courses_table.
*
* @param $filterdata object|null filterdata from moodle form.
* @param object|null $filterdata filterdata from moodle form.
* @throws \coding_exception
*/
public
function
__construct
(
$filterdata
)
{
parent
::
__construct
(
'tool_lifecycle-delayed-courses'
);
...
...
@@ -147,8 +148,10 @@ class delayed_courses_table extends \table_sql {
/**
* Render workflow column
*
* @param $row
* @param
object
$row
* @return string
* @throws \coding_exception
* @throws \dml_exception
*/
public
function
col_workflow
(
$row
)
{
if
(
$row
->
globaldelay
>=
time
())
{
...
...
@@ -182,8 +185,10 @@ class delayed_courses_table extends \table_sql {
/**
* Returns mouseover text for Delaystatus.
*
* @param $row
* @return string
* @param object $row the dataset row
* @return string the mouseover text
* @throws \coding_exception
* @throws \dml_exception
*/
private
function
get_mouseover
(
$row
)
{
global
$DB
;
...
...
@@ -215,8 +220,11 @@ class delayed_courses_table extends \table_sql {
/**
* Render tools column.
*
* @param object $row Row data.
* @return string pluginname of the subplugin
* @throws \coding_exception
* @throws \moodle_exception
*/
public
function
col_tools
(
$row
)
{
global
$PAGE
,
$OUTPUT
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment