Merge branch 'MDL-59204_master_v2' of git://github.com/markn86/moodle
This commit is contained in:
@@ -66,6 +66,54 @@ class models_list implements \renderable, \templatable {
|
||||
foreach ($this->models as $model) {
|
||||
$modeldata = $model->export();
|
||||
|
||||
// Check if there is a help icon for the target to show.
|
||||
$identifier = $modeldata->target->get_identifier();
|
||||
$component = $modeldata->target->get_component();
|
||||
if (get_string_manager()->string_exists($identifier . '_help', $component)) {
|
||||
$helpicon = new \help_icon($identifier, $component);
|
||||
$modeldata->targethelp = $helpicon->export_for_template($output);
|
||||
} else {
|
||||
// We really want to encourage developers to add help to their targets.
|
||||
debugging("The target '{$modeldata->target}' should include a '{$identifier}_help' string to
|
||||
describe its purpose.", DEBUG_DEVELOPER);
|
||||
}
|
||||
|
||||
// Check if there is a help icon for the indicators to show.
|
||||
if (!empty($modeldata->indicators)) {
|
||||
$indicators = array();
|
||||
foreach ($modeldata->indicators as $ind) {
|
||||
// Create the indicator with the details we want for the context.
|
||||
$indicator = new \stdClass();
|
||||
$indicator->name = $ind->out();
|
||||
$identifier = $ind->get_identifier();
|
||||
$component = $ind->get_component();
|
||||
if (get_string_manager()->string_exists($identifier . '_help', $component)) {
|
||||
$helpicon = new \help_icon($identifier, $component);
|
||||
$indicator->help = $helpicon->export_for_template($output);
|
||||
} else {
|
||||
// We really want to encourage developers to add help to their indicators.
|
||||
debugging("The indicator '{$ind}' should include a '{$identifier}_help' string to
|
||||
describe its purpose.", DEBUG_DEVELOPER);
|
||||
}
|
||||
$indicators[] = $indicator;
|
||||
}
|
||||
$modeldata->indicators = $indicators;
|
||||
}
|
||||
|
||||
// Check if there is a help icon for the time splitting method.
|
||||
if (!empty($modeldata->timesplitting)) {
|
||||
$identifier = $modeldata->timesplitting->get_identifier();
|
||||
$component = $modeldata->timesplitting->get_component();
|
||||
if (get_string_manager()->string_exists($identifier . '_help', $component)) {
|
||||
$helpicon = new \help_icon($identifier, $component);
|
||||
$modeldata->timesplittinghelp = $helpicon->export_for_template($output);
|
||||
} else {
|
||||
// We really want to encourage developers to add help to their time splitting methods.
|
||||
debugging("The time splitting method '{$modeldata->timesplitting}' should include a '{$identifier}_help
|
||||
string to describe its purpose.", DEBUG_DEVELOPER);
|
||||
}
|
||||
}
|
||||
|
||||
// Model predictions list.
|
||||
if ($model->uses_insights()) {
|
||||
$predictioncontexts = $model->get_predictions_contexts();
|
||||
|
||||
@@ -33,14 +33,66 @@
|
||||
"models": [
|
||||
{
|
||||
"target": "Prevent devs at risk",
|
||||
"enabled": 1,
|
||||
"indicators": [
|
||||
"Indicator 1",
|
||||
"Indicator 2",
|
||||
"Indicator 3",
|
||||
"Indicator 4"
|
||||
"targethelp": [
|
||||
{
|
||||
"title": "Help with something",
|
||||
"url": "http://example.org/help",
|
||||
"linktext": "",
|
||||
"icon":{
|
||||
"extraclasses": "iconhelp",
|
||||
"attributes": [
|
||||
{"name": "src", "value": "../../../pix/help.svg"},
|
||||
{"name": "alt", "value": "Help icon"}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"enabled": 1,
|
||||
"indicators": [{
|
||||
"name": "Indicator 1",
|
||||
"help": [{
|
||||
"title": "Help with something",
|
||||
"url": "http://example.org/help",
|
||||
"linktext": "",
|
||||
"icon":{
|
||||
"extraclasses": "iconhelp",
|
||||
"attributes": [
|
||||
{"name": "src", "value": "../../../pix/help.svg"},
|
||||
{"name": "alt", "value": "Help icon"}
|
||||
]
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"name": "Indicator 2",
|
||||
"help": [{
|
||||
"title": "Help with something",
|
||||
"url": "http://example.org/help",
|
||||
"linktext": "",
|
||||
"icon":{
|
||||
"extraclasses": "iconhelp",
|
||||
"attributes": [
|
||||
{"name": "src", "value": "../../../pix/help.svg"},
|
||||
{"name": "alt", "value": "Help icon"}
|
||||
]
|
||||
}
|
||||
}]
|
||||
}],
|
||||
"timesplitting": "Quarters",
|
||||
"timesplittinghelp": [
|
||||
{
|
||||
"title": "Help with something",
|
||||
"url": "http://example.org/help",
|
||||
"linktext": "",
|
||||
"icon":{
|
||||
"extraclasses": "iconhelp",
|
||||
"attributes": [
|
||||
{"name": "src", "value": "../../../pix/help.svg"},
|
||||
{"name": "alt", "value": "Help icon"}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"noinsights": "No insights available yet"
|
||||
}
|
||||
],
|
||||
@@ -69,7 +121,12 @@
|
||||
<tbody>
|
||||
{{#models}}
|
||||
<tr>
|
||||
<td>{{target}}</td>
|
||||
<td>
|
||||
{{target}}
|
||||
{{#targethelp}}
|
||||
{{>core/help_icon}}
|
||||
{{/targethelp}}
|
||||
</td>
|
||||
<td>
|
||||
{{#enabled}}
|
||||
{{#pix}}i/checked, core, {{#str}}yes{{/str}}{{/pix}}
|
||||
@@ -81,12 +138,25 @@
|
||||
<td>
|
||||
<ul>
|
||||
{{#indicators}}
|
||||
<li>{{.}}</li>
|
||||
<li>
|
||||
{{name}}
|
||||
{{#help}}
|
||||
{{>core/help_icon}}
|
||||
{{/help}}
|
||||
</li>
|
||||
{{/indicators}}
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
{{#timesplitting}}{{timesplitting}}{{/timesplitting}}{{^timesplitting}}{{#str}}notdefined, tool_analytics{{/str}}{{/timesplitting}}
|
||||
{{#timesplitting}}
|
||||
{{timesplitting}}
|
||||
{{#timesplittinghelp}}
|
||||
{{>core/help_icon}}
|
||||
{{/timesplittinghelp}}
|
||||
{{/timesplitting}}
|
||||
{{^timesplitting}}
|
||||
{{#str}}notdefined, tool_analytics{{/str}}
|
||||
{{/timesplitting}}
|
||||
</td>
|
||||
<td>
|
||||
{{! models_list renderer is responsible of sending one or the other}}
|
||||
|
||||
@@ -66,17 +66,15 @@ abstract class calculable {
|
||||
protected $sampledata = array();
|
||||
|
||||
/**
|
||||
* Returns a visible name for the indicator.
|
||||
* Returns a lang_string object representing the name for the indicator or target.
|
||||
*
|
||||
* Used as column identificator.
|
||||
*
|
||||
* Defaults to the indicator class name.
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return string
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return '\\' . get_called_class();
|
||||
}
|
||||
public static abstract function get_name() : \lang_string;
|
||||
|
||||
/**
|
||||
* The class id is the calculable class full qualified class name.
|
||||
|
||||
@@ -77,14 +77,15 @@ abstract class base {
|
||||
abstract protected function define_ranges();
|
||||
|
||||
/**
|
||||
* The time splitting method name.
|
||||
* Returns a lang_string object representing the name for the time splitting method.
|
||||
*
|
||||
* It is very recommendable to overwrite this method as this name appears in the UI.
|
||||
* @return string
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public function get_name() {
|
||||
return $this->get_id();
|
||||
}
|
||||
public static abstract function get_name() : \lang_string;
|
||||
|
||||
/**
|
||||
* Returns the time splitting method id.
|
||||
|
||||
@@ -33,6 +33,20 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*/
|
||||
class test_indicator_fullname extends \core_analytics\local\indicator\linear {
|
||||
|
||||
/**
|
||||
* Returns a lang_string object representing the name for the indicator.
|
||||
*
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() : \lang_string {
|
||||
// Using a string that exists and contains a corresponding '_help' string.
|
||||
return new \lang_string('allowstealthmodules');
|
||||
}
|
||||
|
||||
/**
|
||||
* include_averages
|
||||
*
|
||||
|
||||
+14
@@ -33,6 +33,20 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*/
|
||||
class test_indicator_max extends \core_analytics\local\indicator\binary {
|
||||
|
||||
/**
|
||||
* Returns a lang_string object representing the name for the indicator.
|
||||
*
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() : \lang_string {
|
||||
// Using a string that exists and contains a corresponding '_help' string.
|
||||
return new \lang_string('allowstealthmodules');
|
||||
}
|
||||
|
||||
/**
|
||||
* calculate_sample
|
||||
*
|
||||
|
||||
+14
@@ -33,6 +33,20 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*/
|
||||
class test_indicator_min extends \core_analytics\local\indicator\binary {
|
||||
|
||||
/**
|
||||
* Returns a lang_string object representing the name for the indicator.
|
||||
*
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() : \lang_string {
|
||||
// Using a string that exists and contains a corresponding '_help' string.
|
||||
return new \lang_string('allowstealthmodules');
|
||||
}
|
||||
|
||||
/**
|
||||
* calculate_sample
|
||||
*
|
||||
|
||||
@@ -33,6 +33,20 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*/
|
||||
class test_indicator_random extends \core_analytics\local\indicator\binary {
|
||||
|
||||
/**
|
||||
* Returns a lang_string object representing the name for the indicator.
|
||||
*
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() : \lang_string {
|
||||
// Using a string that exists and contains a corresponding '_help' string.
|
||||
return new \lang_string('allowstealthmodules');
|
||||
}
|
||||
|
||||
/**
|
||||
* calculate_sample
|
||||
*
|
||||
|
||||
@@ -38,6 +38,20 @@ require_once(__DIR__ . '/test_target_shortname.php');
|
||||
*/
|
||||
class test_static_target_shortname extends test_target_shortname {
|
||||
|
||||
/**
|
||||
* Returns a lang_string object representing the name for the indicator.
|
||||
*
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() : \lang_string {
|
||||
// Using a string that exists and contains a corresponding '_help' string.
|
||||
return new \lang_string('allowstealthmodules');
|
||||
}
|
||||
|
||||
/**
|
||||
* based_on_assumptions
|
||||
*
|
||||
|
||||
@@ -33,6 +33,20 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*/
|
||||
class test_target_shortname extends \core_analytics\local\target\binary {
|
||||
|
||||
/**
|
||||
* Returns a lang_string object representing the name for the indicator.
|
||||
*
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() : \lang_string {
|
||||
// Using a string that exists and contains a corresponding '_help' string.
|
||||
return new \lang_string('allowstealthmodules');
|
||||
}
|
||||
|
||||
/**
|
||||
* predictions
|
||||
*
|
||||
|
||||
@@ -43,12 +43,14 @@ class no_teacher extends \core_analytics\local\indicator\binary {
|
||||
protected $teacherroleids = null;
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:noteacher', 'moodle');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:noteacher', 'moodle');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1024,12 +1024,19 @@ $string['includesitefiles'] = 'Include site files used in this course';
|
||||
$string['includeuserfiles'] = 'Include user files';
|
||||
$string['increasesections'] = 'Increase the number of sections';
|
||||
$string['indicator:accessesafterend'] = 'Accesses after the end date';
|
||||
$string['indicator:accessesafterend_help'] = '';
|
||||
$string['indicator:accessesbeforestart'] = 'Accesses before the start date';
|
||||
$string['indicator:accessesbeforestart_help'] = '';
|
||||
$string['indicator:anywrite'] = 'Any write action';
|
||||
$string['indicator:anywrite_help'] = '';
|
||||
$string['indicator:completeduserprofile'] = 'User profile is completed';
|
||||
$string['indicator:completeduserprofile_help'] = '';
|
||||
$string['indicator:noteacher'] = 'There are no teachers';
|
||||
$string['indicator:noteacher_help'] = '';
|
||||
$string['indicator:readactions'] = 'Read actions amount';
|
||||
$string['indicator:readactions_help'] = '';
|
||||
$string['indicator:userforumstracking'] = 'User is tracking forums';
|
||||
$string['indicator:userforumstracking_help'] = '';
|
||||
$string['info'] = 'Information';
|
||||
$string['institution'] = 'Institution';
|
||||
$string['instudentview'] = 'in student view';
|
||||
@@ -1887,7 +1894,9 @@ $string['tagalready'] = 'This tag already exists';
|
||||
$string['tagmanagement'] = 'Add/delete tags ...';
|
||||
$string['tags'] = 'Tags';
|
||||
$string['target:coursedropout'] = 'Students at risk of dropping out';
|
||||
$string['target:coursedropout_help'] = '';
|
||||
$string['target:noteachingactivity'] = 'No teaching';
|
||||
$string['target:noteachingactivity_help'] = '';
|
||||
$string['targetlabelstudentdropoutyes'] = 'Student at risk of dropping out';
|
||||
$string['targetlabelstudentdropoutno'] = 'Not at risk';
|
||||
$string['targetlabelteachingyes'] = 'Users with teaching capabilities have access to the course';
|
||||
@@ -1905,13 +1914,21 @@ The list of available text editors is determined by the site administrator.';
|
||||
$string['texteditor'] = 'Use standard web forms';
|
||||
$string['textformat'] = 'Plain text format';
|
||||
$string['timesplitting:deciles'] = 'Deciles';
|
||||
$string['timesplitting:deciles_help'] = '';
|
||||
$string['timesplitting:decilesaccum'] = 'Deciles accumulative';
|
||||
$string['timesplitting:decilesaccum_help'] = '';
|
||||
$string['timesplitting:nosplitting'] = 'No time splitting';
|
||||
$string['timesplitting:nosplitting_help'] = '';
|
||||
$string['timesplitting:quarters'] = 'Quarters';
|
||||
$string['timesplitting:quarters_help'] = '';
|
||||
$string['timesplitting:quartersaccum'] = 'Quarters accumulative';
|
||||
$string['timesplitting:quartersaccum_help'] = '';
|
||||
$string['timesplitting:singlerange'] = 'Single range';
|
||||
$string['timesplitting:singlerange_help'] = '';
|
||||
$string['timesplitting:weekly'] = 'Weekly';
|
||||
$string['timesplitting:weekly_help'] = '';
|
||||
$string['timesplitting:weeklyaccum'] = 'Weekly accumulative';
|
||||
$string['timesplitting:weeklyaccum_help'] = '';
|
||||
$string['thanks'] = 'Thanks';
|
||||
$string['theme'] = 'Theme';
|
||||
$string['themes'] = 'Themes';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class any_access_after_end extends \core_analytics\local\indicator\binary {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:accessesafterend');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:accessesafterend');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class any_access_before_start extends \core_analytics\local\indicator\binary {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:accessesbeforestart');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:accessesbeforestart');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class any_write_action extends \core_analytics\local\indicator\binary {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:anywrite');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:anywrite');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class read_actions extends \core_analytics\local\indicator\linear {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:readactions');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:readactions');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -41,12 +41,14 @@ require_once($CFG->dirroot . '/completion/completion_completion.php');
|
||||
class course_dropout extends \core_analytics\local\target\binary {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('target:coursedropout');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('target:coursedropout');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -45,12 +45,14 @@ class no_teaching extends \core_analytics\local\target\binary {
|
||||
}
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('target:noteachingactivity');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('target:noteachingactivity');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,16 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class deciles extends \core_analytics\local\time_splitting\equal_parts {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns a lang_string object representing the name for the time splitting method.
|
||||
*
|
||||
* @return string
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public function get_name() {
|
||||
return get_string('timesplitting:deciles');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('timesplitting:deciles');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,16 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class deciles_accum extends \core_analytics\local\time_splitting\accumulative_parts {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns a lang_string object representing the name for the time splitting method.
|
||||
*
|
||||
* @return string
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public function get_name() {
|
||||
return get_string('timesplitting:decilesaccum');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('timesplitting:decilesaccum');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,12 +40,16 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class no_splitting extends \core_analytics\local\time_splitting\base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns a lang_string object representing the name for the time splitting method.
|
||||
*
|
||||
* @return string
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public function get_name() {
|
||||
return get_string('timesplitting:nosplitting');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('timesplitting:nosplitting');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,16 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class quarters extends \core_analytics\local\time_splitting\equal_parts {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns a lang_string object representing the name for the time spliting method.
|
||||
*
|
||||
* @return string
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public function get_name() {
|
||||
return get_string('timesplitting:quarters');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('timesplitting:quarters');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,16 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class quarters_accum extends \core_analytics\local\time_splitting\accumulative_parts {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns a lang_string object representing the name for the time spliting method.
|
||||
*
|
||||
* @return string
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public function get_name() {
|
||||
return get_string('timesplitting:quartersaccum');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('timesplitting:quartersaccum');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,16 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class single_range extends \core_analytics\local\time_splitting\base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns a lang_string object representing the name for the time spliting method.
|
||||
*
|
||||
* @return string
|
||||
* Used as column identificator.
|
||||
*
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public function get_name() {
|
||||
return get_string('timesplitting:singlerange');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('timesplitting:singlerange');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -9990,4 +9990,22 @@ class lang_string {
|
||||
$this->forcedstring = true;
|
||||
return array('forcedstring', 'string', 'lang');
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the identifier.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_identifier() {
|
||||
return $this->identifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_component() {
|
||||
return $this->component;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthassign', 'mod_assign');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_assign');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthassign', 'mod_assign');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_assign');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -266,8 +266,10 @@ $string['groupsnone'] = 'There are no groups in this course';
|
||||
$string['hideshow'] = 'Hide/Show';
|
||||
$string['hiddenuser'] = 'Participant ';
|
||||
$string['inactiveoverridehelp'] = '* Student does not have the correct group or role to attempt the assignment';
|
||||
$string['indicator:cognitivedepthassign'] = 'Assignment cognitive';
|
||||
$string['indicator:socialbreadthassign'] = 'Assignment social';
|
||||
$string['indicator:cognitivedepth'] = 'Assignment cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Assignment social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['instructionfiles'] = 'Instruction files';
|
||||
$string['introattachments'] = 'Additional files';
|
||||
$string['introattachments_help'] = 'Additional files for use in the assignment, such as answer templates, may be added. Download links for the files will then be displayed on the assignment page under the description.';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthbook', 'mod_book');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_book');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthbook', 'mod_book');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_book');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -55,8 +55,10 @@ $string['eventchapterupdated'] = 'Chapter updated';
|
||||
$string['eventchapterviewed'] = 'Chapter viewed';
|
||||
$string['editchapter'] = 'Edit chapter "{$a}"';
|
||||
$string['hidechapter'] = 'Hide chapter "{$a}"';
|
||||
$string['indicator:cognitivedepthbook'] = 'Book cognitive';
|
||||
$string['indicator:socialbreadthbook'] = 'Book social';
|
||||
$string['indicator:cognitivedepth'] = 'Book cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Book social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['movechapterup'] = 'Move chapter up "{$a}"';
|
||||
$string['movechapterdown'] = 'Move chapter down "{$a}"';
|
||||
$string['search:activity'] = 'Book - resource information';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthchat', 'mod_chat');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_chat');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthchat', 'mod_chat');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_chat');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -67,8 +67,10 @@ $string['entermessage'] = "Enter your message";
|
||||
$string['eventmessagesent'] = 'Message sent';
|
||||
$string['eventsessionsviewed'] = 'Sessions viewed';
|
||||
$string['idle'] = 'Idle';
|
||||
$string['indicator:cognitivedepthchat'] = 'Chat cognitive';
|
||||
$string['indicator:socialbreadthchat'] = 'Chat social';
|
||||
$string['indicator:cognitivedepth'] = 'Chat cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Chat social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['inputarea'] = 'Input area';
|
||||
$string['invalidid'] = 'Could not find that chat room!';
|
||||
$string['list_all_sessions'] = 'List all sessions.';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthchoice', 'mod_choice');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_choice');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthchoice', 'mod_choice');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_choice');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -71,8 +71,10 @@ $string['chooseaction'] = 'Choose an action ...';
|
||||
$string['chooseoption'] = 'Choose: {$a}';
|
||||
$string['description'] = 'Description';
|
||||
$string['includeinactive'] = 'Include responses from inactive/suspended users';
|
||||
$string['indicator:cognitivedepthchoice'] = 'Choice cognitive';
|
||||
$string['indicator:socialbreadthchoice'] = 'Choice social';
|
||||
$string['indicator:cognitivedepth'] = 'Choice cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Choice social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['limit'] = 'Limit';
|
||||
$string['limitno'] = 'Limit {no}';
|
||||
$string['limitanswers'] = 'Limit the number of responses allowed';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthdata', 'mod_data');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_data');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthdata', 'mod_data');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_data');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -203,8 +203,10 @@ $string['importsuccess'] = 'The preset has been successfully applied.';
|
||||
$string['includeapproval'] = 'Include approval status';
|
||||
$string['includetime'] = 'Include time added/modified';
|
||||
$string['includeuserdetails'] = 'Include user details';
|
||||
$string['indicator:cognitivedepthdata'] = 'Database cognitive';
|
||||
$string['indicator:socialbreadthdata'] = 'Database social';
|
||||
$string['indicator:cognitivedepth'] = 'Database cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Database social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['insufficiententries'] = 'more entries needed to view this database';
|
||||
$string['intro'] = 'Description';
|
||||
$string['invalidaccess'] = 'This page was not accessed correctly';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthfeedback', 'mod_feedback');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_feedback');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthfeedback', 'mod_feedback');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_feedback');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -139,8 +139,10 @@ $string['downloadresponseas'] = 'Download all responses as:';
|
||||
$string['importfromthisfile'] = 'Import from this file';
|
||||
$string['import_questions'] = 'Import questions';
|
||||
$string['import_successfully'] = 'Import successfully';
|
||||
$string['indicator:cognitivedepthfeedback'] = 'Feedback cognitive';
|
||||
$string['indicator:socialbreadthfeedback'] = 'Feedback social';
|
||||
$string['indicator:cognitivedepth'] = 'Feedback cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Feedback social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['info'] = 'Information';
|
||||
$string['infotype'] = 'Information type';
|
||||
$string['insufficient_responses_for_this_group'] = 'There are insufficient responses for this group';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthfolder', 'mod_folder');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_folder');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthfolder', 'mod_folder');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_folder');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,8 +33,10 @@ $string['folder:addinstance'] = 'Add a new folder';
|
||||
$string['folder:managefiles'] = 'Manage files in folder module';
|
||||
$string['folder:view'] = 'View folder content';
|
||||
$string['foldercontent'] = 'Files and subfolders';
|
||||
$string['indicator:cognitivedepthfolder'] = 'Folder cognitive';
|
||||
$string['indicator:socialbreadthfolder'] = 'Folder social';
|
||||
$string['indicator:cognitivedepth'] = 'Folder cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Folder social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['modulename'] = 'Folder';
|
||||
$string['modulename_help'] = 'The folder module enables a teacher to display a number of related files inside a single folder, reducing scrolling on the course page. A zipped folder may be uploaded and unzipped for display, or an empty folder created and files uploaded into it.
|
||||
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthforum', 'mod_forum');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_forum');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthforum', 'mod_forum');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_forum');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -269,8 +269,10 @@ $string['forum:viewsubscribers'] = 'View subscribers';
|
||||
$string['generalforum'] = 'Standard forum for general use';
|
||||
$string['generalforums'] = 'General forums';
|
||||
$string['hiddenforumpost'] = 'Hidden forum post';
|
||||
$string['indicator:cognitivedepthforum'] = 'Forum cognitive';
|
||||
$string['indicator:socialbreadthforum'] = 'Forum social';
|
||||
$string['indicator:cognitivedepth'] = 'Forum cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Forum social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['inforum'] = 'in {$a}';
|
||||
$string['introblog'] = 'The posts in this forum were copied here automatically from blogs of users in this course because those blog entries are no longer available';
|
||||
$string['intronews'] = 'General news and announcements';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthglossary', 'mod_glossary');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_glossary');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthglossary', 'mod_glossary');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_glossary');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -215,8 +215,10 @@ $string['importedentries'] = 'Imported entries';
|
||||
$string['importentries'] = 'Import entries';
|
||||
$string['importentriesfromxml'] = 'Import entries from XML file';
|
||||
$string['includegroupbreaks'] = 'Include group breaks';
|
||||
$string['indicator:cognitivedepthglossary'] = 'Glossary cognitive';
|
||||
$string['indicator:socialbreadthglossary'] = 'Glossary social';
|
||||
$string['indicator:cognitivedepth'] = 'Glossary cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Glossary social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['isglobal'] = 'Is this glossary global?';
|
||||
$string['isglobal_help'] = 'A global glossary has entries which are linked to from throughout the site, rather than only in the course that the glossary is in. Only administrators can set a glossary as global.';
|
||||
$string['letter'] = 'letter';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthimscp', 'mod_imscp');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_imscp');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthimscp', 'mod_imscp');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_imscp');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -28,8 +28,10 @@ $string['contentheader'] = 'Content';
|
||||
$string['deploymenterror'] = 'Content package error!';
|
||||
$string['keepold'] = 'Archive packages';
|
||||
$string['keepoldexplain'] = 'How many packages should be archived?';
|
||||
$string['indicator:cognitivedepthimscp'] = 'IMS content packages\' cognitive';
|
||||
$string['indicator:socialbreadthimscp'] = 'IMS content packages\' social';
|
||||
$string['indicator:cognitivedepth'] = 'IMS content packages\' cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'IMS content packages\' social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['imscp:addinstance'] = 'Add a new IMS content package';
|
||||
$string['imscp:view'] = 'View IMS content';
|
||||
$string['modulename'] = 'IMS content package';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthlabel', 'mod_label');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_label');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthlabel', 'mod_label');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_label');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,8 +31,10 @@ $string['dndresizeheight'] = 'Resize drag and drop height';
|
||||
$string['dndresizewidth'] = 'Resize drag and drop width';
|
||||
$string['dnduploadlabel'] = 'Add media to course page';
|
||||
$string['dnduploadlabeltext'] = 'Add a label to the course page';
|
||||
$string['indicator:cognitivedepthlabel'] = 'Label cognitive';
|
||||
$string['indicator:socialbreadthlabel'] = 'Label social';
|
||||
$string['indicator:cognitivedepth'] = 'Label cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Label social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['label:addinstance'] = 'Add a new label';
|
||||
$string['label:view'] = 'View label';
|
||||
$string['labeltext'] = 'Label text';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthlesson', 'mod_lesson');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_lesson');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthlesson', 'mod_lesson');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_lesson');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -256,8 +256,10 @@ $string['importquestions'] = 'Import questions';
|
||||
$string['importquestions_help'] = 'This feature enables questions in a variety of formats to be imported via text file.';
|
||||
$string['inactiveoverridehelp'] = '* Student does not have the correct group or role to view/attempt the lesson';
|
||||
$string['insertedpage'] = 'Inserted page';
|
||||
$string['indicator:cognitivedepthlesson'] = 'Lesson cognitive';
|
||||
$string['indicator:socialbreadthlesson'] = 'Lesson social';
|
||||
$string['indicator:cognitivedepth'] = 'Lesson cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Lesson social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['invalidfile'] = 'Invalid file';
|
||||
$string['invalidid'] = 'No course module ID or lesson ID were passed';
|
||||
$string['invalidlessonid'] = 'lesson ID was incorrect';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthlti', 'mod_lti');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_lti');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthlti', 'mod_lti');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_lti');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -214,8 +214,10 @@ $string['icon_url'] = 'Icon URL';
|
||||
$string['icon_url_help'] = 'The icon URL allows the icon that shows up in the course listing for this activity to be modified. Instead of using the default
|
||||
LTI icon, an icon which conveys the type of activity may be specified.';
|
||||
$string['id'] = 'id';
|
||||
$string['indicator:socialbreadthlti'] = 'LTI social';
|
||||
$string['indicator:cognitivedepthlti'] = 'LTI cognitive';
|
||||
$string['indicator:cognitivedepth'] = 'LTI cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'LTI social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['invalidid'] = 'LTI ID was incorrect';
|
||||
$string['launch_in_moodle'] = 'Launch tool in moodle';
|
||||
$string['launch_in_popup'] = 'Launch tool in a pop-up';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthpage', 'mod_page');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_page');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthpage', 'mod_page');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_page');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,8 +30,10 @@ $string['createpage'] = 'Create a new page resource';
|
||||
$string['displayoptions'] = 'Available display options';
|
||||
$string['displayselect'] = 'Display';
|
||||
$string['displayselectexplain'] = 'Select display type.';
|
||||
$string['indicator:cognitivedepthpage'] = 'Page cognitive';
|
||||
$string['indicator:socialbreadthpage'] = 'Page social';
|
||||
$string['indicator:cognitivedepth'] = 'Page cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Page social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['legacyfiles'] = 'Migration of old course file';
|
||||
$string['legacyfilesactive'] = 'Active';
|
||||
$string['legacyfilesdone'] = 'Finished';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthquiz', 'mod_quiz');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_quiz');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthquiz', 'mod_quiz');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_quiz');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -431,8 +431,10 @@ $string['importmax10error'] = 'There is an error in the question. You may not ha
|
||||
$string['importquestions'] = 'Import questions from file';
|
||||
$string['inactiveoverridehelp'] = '* Student does not have the correct group or role to attempt the quiz';
|
||||
$string['incorrect'] = 'Incorrect';
|
||||
$string['indicator:cognitivedepthquiz'] = 'Quiz cognitive';
|
||||
$string['indicator:socialbreadthquiz'] = 'Quiz social';
|
||||
$string['indicator:cognitivedepth'] = 'Quiz cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Quiz social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['indivresp'] = 'Responses of individuals to each item';
|
||||
$string['info'] = 'Info';
|
||||
$string['infoshort'] = 'i';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthresource', 'mod_resource');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_resource');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthresource', 'mod_resource');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_resource');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -60,8 +60,10 @@ $string['filterfilesexplain'] = 'Select type of file content filtering, please n
|
||||
$string['filtername'] = 'Resource names auto-linking';
|
||||
$string['forcedownload'] = 'Force download';
|
||||
$string['framesize'] = 'Frame height';
|
||||
$string['indicator:cognitivedepthresource'] = 'File cognitive';
|
||||
$string['indicator:socialbreadthresource'] = 'File social';
|
||||
$string['indicator:cognitivedepth'] = 'File cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'File social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['legacyfiles'] = 'Migration of old course file';
|
||||
$string['legacyfilesactive'] = 'Active';
|
||||
$string['legacyfilesdone'] = 'Finished';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthscorm', 'mod_scorm');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_scorm');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthscorm', 'mod_scorm');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_scorm');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -196,8 +196,10 @@ $string['highestattempt'] = 'Highest attempt';
|
||||
$string['chooseapacket'] = 'Choose or update a package';
|
||||
$string['identifier'] = 'Question identifier';
|
||||
$string['incomplete'] = 'Incomplete';
|
||||
$string['indicator:cognitivedepthscorm'] = 'SCORM cognitive';
|
||||
$string['indicator:socialbreadthscorm'] = 'SCORM social';
|
||||
$string['indicator:cognitivedepth'] = 'SCORM cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'SCORM social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['info'] = 'Info';
|
||||
$string['interactions'] = 'Interactions';
|
||||
$string['masteryoverride'] = 'Mastery score overrides status';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthsurvey', 'mod_survey');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_survey');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthsurvey', 'mod_survey');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_survey');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -206,8 +206,10 @@ $string['guestsnotallowed'] = 'Only enrolled users are able to submit surveys';
|
||||
$string['howlong'] = 'How long did this survey take you to complete?';
|
||||
$string['howlongoptions'] = 'under 1 min,1-2 min,2-3 min,3-4 min,4-5-min,5-10 min,more than 10';
|
||||
$string['ifoundthat'] = 'I found that';
|
||||
$string['indicator:cognitivedepthsurvey'] = 'Survey cognitive';
|
||||
$string['indicator:socialbreadthsurvey'] = 'Survey social';
|
||||
$string['indicator:cognitivedepth'] = 'Survey cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Survey social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['introtext'] = 'Introduction text';
|
||||
$string['invalidsurveyid'] = 'Survey ID was incorrect';
|
||||
$string['invalidtmptid'] = 'Invalid template id';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthurl', 'mod_url');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_url');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthurl', 'mod_url');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_url');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -45,8 +45,10 @@ $string['externalurl'] = 'External URL';
|
||||
$string['framesize'] = 'Frame height';
|
||||
$string['invalidstoredurl'] = 'Cannot display this resource, URL is invalid.';
|
||||
$string['chooseavariable'] = 'Choose a variable...';
|
||||
$string['indicator:cognitivedepthurl'] = 'URL cognitive';
|
||||
$string['indicator:socialbreadthurl'] = 'URL social';
|
||||
$string['indicator:cognitivedepth'] = 'URL cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'URL social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['invalidurl'] = 'Entered URL is invalid';
|
||||
$string['modulename'] = 'URL';
|
||||
$string['modulename_help'] = 'The URL module enables a teacher to provide a web link as a course resource. Anything that is freely available online, such as documents or images, can be linked to; the URL doesn’t have to be the home page of a website. The URL of a particular web page may be copied and pasted or a teacher can use the file picker and choose a link from a repository such as Flickr, YouTube or Wikimedia (depending upon which repositories are enabled for the site).
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthwiki', 'mod_wiki');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_wiki');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthwiki', 'mod_wiki');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_wiki');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -107,8 +107,10 @@ $string['incorrectdeleteversions'] = "Page versions provided for deletion are in
|
||||
$string['incorrectpageid'] = 'Page ID is incorrect.';
|
||||
$string['incorrectsubwikiid'] = 'Subwiki ID is incorrect.';
|
||||
$string['incorrectwikiid'] = 'Wiki ID is incorrect.';
|
||||
$string['indicator:cognitivedepthwiki'] = 'Wiki cognitive';
|
||||
$string['indicator:socialbreadthwiki'] = 'Wiki social';
|
||||
$string['indicator:cognitivedepth'] = 'Wiki cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Wiki social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['insertcomment'] = 'Insert comment';
|
||||
$string['insertimage'] = 'Insert an image...';
|
||||
$string['insertimage_help'] = 'This drop-down list will insert an image to the wiki editor. If you need to add more images to the wiki, please use "Files" tab.';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class cognitive_depth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:cognitivedepthworkshop', 'mod_workshop');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:cognitivedepth', 'mod_workshop');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class social_breadth extends activity_base {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:socialbreadthworkshop', 'mod_workshop');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:socialbreadth', 'mod_workshop');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -175,8 +175,10 @@ $string['gradingsettings'] = 'Grading settings';
|
||||
$string['groupnoallowed'] = 'You are not allowed to access any group in this workshop';
|
||||
$string['chooseuser'] = 'Choose user...';
|
||||
$string['iamsure'] = 'Yes, I am sure';
|
||||
$string['indicator:cognitivedepthworkshop'] = 'Workshop cognitive';
|
||||
$string['indicator:socialbreadthworkshop'] = 'Workshop social';
|
||||
$string['indicator:cognitivedepth'] = 'Workshop cognitive';
|
||||
$string['indicator:cognitivedepth_help'] = '';
|
||||
$string['indicator:socialbreadth'] = 'Workshop social';
|
||||
$string['indicator:socialbreadth_help'] = '';
|
||||
$string['info'] = 'Info';
|
||||
$string['instructauthors'] = 'Instructions for submission';
|
||||
$string['instructreviewers'] = 'Instructions for assessment';
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class user_profile_set extends \core_analytics\local\indicator\linear {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:completeduserprofile');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:completeduserprofile');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,12 +36,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class user_track_forums extends \core_analytics\local\indicator\binary {
|
||||
|
||||
/**
|
||||
* get_name
|
||||
* Returns the name.
|
||||
*
|
||||
* @return string
|
||||
* If there is a corresponding '_help' string this will be shown as well.
|
||||
*
|
||||
* @return \lang_string
|
||||
*/
|
||||
public static function get_name() {
|
||||
return get_string('indicator:userforumstracking');
|
||||
public static function get_name() : \lang_string {
|
||||
return new \lang_string('indicator:userforumstracking');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user