diff --git a/classes/local/table/interaction_table.php b/classes/local/table/interaction_table.php index a2d350957d0381fc390460ed96a9ccaa231be57f..73055dbf1f08ed2e2d723f0a7be53ff15099564b 100644 --- a/classes/local/table/interaction_table.php +++ b/classes/local/table/interaction_table.php @@ -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. diff --git a/step/interactionlib.php b/step/interactionlib.php index 9e27698fdf5619055e34a0413b7100a838d9e140..780314f4309578d7851802eb660c6421cff0a046 100644 --- a/step/interactionlib.php +++ b/step/interactionlib.php @@ -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. diff --git a/step/lib.php b/step/lib.php index f544e9ea7ea761cfb61bf452fa7b300fd229b283..a21044faf22a992e596389f51937692ea2aa6ebe 100644 --- a/step/lib.php +++ b/step/lib.php @@ -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. diff --git a/trigger/lib.php b/trigger/lib.php index f36d216a75df068013cbe5263778335e59644784..5ec5ad787bd783f49a9067881211443630b1072f 100644 --- a/trigger/lib.php +++ b/trigger/lib.php @@ -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.