Skip to content
Snippets Groups Projects
Unverified Commit ece340e1 authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Added some comments to instance settings

parent 366c2119
No related branches found
No related tags found
No related merge requests found
...@@ -90,12 +90,23 @@ abstract class base { ...@@ -90,12 +90,23 @@ abstract class base {
} }
/**
* Class representing a local settings object for a subplugin instance.
* @package tool_cleanupcourses\step
*/
class instance_setting { class instance_setting {
/** @var string name of the setting*/
public $name; public $name;
/** @var string param type of the setting, e.g. PARAM_INT */
public $paramtype; public $paramtype;
/**
* Create a local settings object.
* @param string $name name of the setting
* @param string $paramtype param type. Used for cleansing and parsing, e.g. PARAM_INT.
*/
public function __construct($name, $paramtype) { public function __construct($name, $paramtype) {
$this->name = $name; $this->name = $name;
$this->paramtype = $paramtype; $this->paramtype = $paramtype;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment