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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-tool_lifecycle
Commits
6a8c9d2c
Commit
6a8c9d2c
authored
4 years ago
by
Justus Dieckmann
Browse files
Options
Downloads
Patches
Plain Diff
Fix Codestyle
parent
1b8120f5
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
classes/local/table/interaction_table.php
+2
-2
2 additions, 2 deletions
classes/local/table/interaction_table.php
step/interactionlib.php
+5
-5
5 additions, 5 deletions
step/interactionlib.php
step/lib.php
+2
-2
2 additions, 2 deletions
step/lib.php
trigger/lib.php
+3
-3
3 additions, 3 deletions
trigger/lib.php
with
12 additions
and
12 deletions
classes/local/table/interaction_table.php
+
2
−
2
View file @
6a8c9d2c
...
...
@@ -54,7 +54,7 @@ abstract class interaction_table extends \table_sql {
/**
* Initialises the columns of the table. Necessary since attention_table has extra column date.
*/
public
abstract
function
init
();
abstract
public
function
init
();
/**
* Render coursefullname column.
...
...
@@ -86,7 +86,7 @@ abstract class interaction_table extends \table_sql {
* @param object $row Row data.
* @return string Rendered tools html
*/
public
abstract
function
col_tools
(
$row
);
abstract
public
function
col_tools
(
$row
);
/**
* Render status column.
...
...
This diff is collapsed.
Click to expand it.
step/interactionlib.php
+
5
−
5
View file @
6a8c9d2c
...
...
@@ -48,7 +48,7 @@ abstract class interactionlibbase {
* Returns the capability a user has to have to make decisions for a specific course.
* @return string capability string.
*/
public
abstract
function
get_relevant_capability
();
abstract
public
function
get_relevant_capability
();
/**
* Returns if only the courses of a step instance should be shown or all courses for the submodule.
...
...
@@ -66,7 +66,7 @@ abstract class interactionlibbase {
* @param process $process process the action tools are requested for
* @return array of action tools
*/
public
abstract
function
get_action_tools
(
$process
);
abstract
public
function
get_action_tools
(
$process
);
/**
...
...
@@ -74,7 +74,7 @@ abstract class interactionlibbase {
* @param process $process process the status message is requested for
* @return string status message
*/
public
abstract
function
get_status_message
(
$process
);
abstract
public
function
get_status_message
(
$process
);
/**
* Returns the display name for the given action.
...
...
@@ -83,7 +83,7 @@ abstract class interactionlibbase {
* @param string $user html-link with username as text that refers to the user profile.
* @return string action display name
*/
public
abstract
function
get_action_string
(
$action
,
$user
);
abstract
public
function
get_action_string
(
$action
,
$user
);
/**
* Called when a user triggered an action for a process instance.
...
...
@@ -96,7 +96,7 @@ abstract class interactionlibbase {
* - noaction: the action is not defined for the step.
* - rollback: the step has finished and respective controller class should rollback the process.
*/
public
abstract
function
handle_interaction
(
$process
,
$step
,
$action
=
'default'
);
abstract
public
function
handle_interaction
(
$process
,
$step
,
$action
=
'default'
);
/**
* Returns the due date.
...
...
This diff is collapsed.
Click to expand it.
step/lib.php
+
2
−
2
View file @
6a8c9d2c
...
...
@@ -51,7 +51,7 @@ abstract class libbase {
* @param mixed $course to be processed.
* @return step_response
*/
public
abstract
function
process_course
(
$processid
,
$instanceid
,
$course
);
abstract
public
function
process_course
(
$processid
,
$instanceid
,
$course
);
/**
* Processes the course in status waiting and returns a repsonse.
...
...
@@ -97,7 +97,7 @@ abstract class libbase {
* The return value should be equivalent with the name of the subplugin folder.
* @return string technical name of the subplugin
*/
public
abstract
function
get_subpluginname
();
abstract
public
function
get_subpluginname
();
/**
* Defines which settings each instance of the subplugin offers for the user to define.
...
...
This diff is collapsed.
Click to expand it.
trigger/lib.php
+
3
−
3
View file @
6a8c9d2c
...
...
@@ -43,7 +43,7 @@ abstract class base {
* The return value should be equivalent with the name of the subplugin folder.
* @return string technical name of the subplugin
*/
public
abstract
function
get_subpluginname
();
abstract
public
function
get_subpluginname
();
/**
* Defines which settings each instance of the subplugin offers for the user to define.
...
...
@@ -94,7 +94,7 @@ abstract class base {
* Specifies if the trigger is a manual or an automatic trigger.
* @return boolean
*/
public
abstract
function
is_manual_trigger
();
abstract
public
function
is_manual_trigger
();
/**
* Returns the status message for the trigger.
...
...
@@ -123,7 +123,7 @@ abstract class base_automatic extends base {
* @param int $triggerid Id of the trigger instance.
* @return trigger_response
*/
public
abstract
function
check_course
(
$course
,
$triggerid
);
abstract
public
function
check_course
(
$course
,
$triggerid
);
/**
* Defines if the trigger subplugin is started manually or automatically.
...
...
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