Skip to content
Snippets Groups Projects
Commit 6a8c9d2c authored by Justus Dieckmann's avatar Justus Dieckmann
Browse files

Fix Codestyle

parent 1b8120f5
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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.
......
......@@ -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.
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment