mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
MDL-75576 qbank_statistics: remove copy-pasted PHPdoc comments
These methods are already correctly documented on the base class.
This commit is contained in:
parent
017a3274fe
commit
9ff59e99ff
question/bank/statistics/classes/columns
@ -18,6 +18,7 @@ namespace qbank_statistics\columns;
|
||||
|
||||
use core_question\local\bank\column_base;
|
||||
use qbank_statistics\helper;
|
||||
|
||||
/**
|
||||
* This columns shows a message about whether this question is OK or needs revision.
|
||||
*
|
||||
@ -30,11 +31,6 @@ use qbank_statistics\helper;
|
||||
*/
|
||||
class discrimination_index extends column_base {
|
||||
|
||||
/**
|
||||
* Title for this column.
|
||||
*
|
||||
* @return string column title
|
||||
*/
|
||||
public function get_title(): string {
|
||||
return get_string('discrimination_index', 'qbank_statistics');
|
||||
}
|
||||
@ -43,20 +39,10 @@ class discrimination_index extends column_base {
|
||||
return new \help_icon('discrimination_index', 'qbank_statistics');
|
||||
}
|
||||
|
||||
/**
|
||||
* Column name.
|
||||
*
|
||||
* @return string column name
|
||||
*/
|
||||
public function get_name(): string {
|
||||
return 'discrimination_index';
|
||||
}
|
||||
|
||||
/**
|
||||
* Output the contents of this column.
|
||||
* @param object $question the row from the $question table, augmented with extra information.
|
||||
* @param string $rowclasses CSS class names that should be applied to this row of output.
|
||||
*/
|
||||
protected function display_content($question, $rowclasses) {
|
||||
global $PAGE;
|
||||
// Average discrimination index per quiz.
|
||||
|
@ -18,6 +18,7 @@ namespace qbank_statistics\columns;
|
||||
|
||||
use core_question\local\bank\column_base;
|
||||
use qbank_statistics\helper;
|
||||
|
||||
/**
|
||||
* This column show the average discriminative efficiency for this question.
|
||||
*
|
||||
@ -28,11 +29,6 @@ use qbank_statistics\helper;
|
||||
*/
|
||||
class discriminative_efficiency extends column_base {
|
||||
|
||||
/**
|
||||
* Title for this column.
|
||||
*
|
||||
* @return string column title
|
||||
*/
|
||||
public function get_title(): string {
|
||||
return get_string('discriminative_efficiency', 'qbank_statistics');
|
||||
}
|
||||
@ -41,20 +37,10 @@ class discriminative_efficiency extends column_base {
|
||||
return new \help_icon('discriminative_efficiency', 'qbank_statistics');
|
||||
}
|
||||
|
||||
/**
|
||||
* Column name.
|
||||
*
|
||||
* @return string column name
|
||||
*/
|
||||
public function get_name(): string {
|
||||
return 'discriminative_efficiency';
|
||||
}
|
||||
|
||||
/**
|
||||
* Output the contents of this column.
|
||||
* @param object $question the row from the $question table, augmented with extra information.
|
||||
* @param string $rowclasses CSS class names that should be applied to this row of output.
|
||||
*/
|
||||
protected function display_content($question, $rowclasses) {
|
||||
global $PAGE;
|
||||
// Average discriminative efficiency per quiz.
|
||||
|
@ -18,6 +18,7 @@ namespace qbank_statistics\columns;
|
||||
|
||||
use core_question\local\bank\column_base;
|
||||
use qbank_statistics\helper;
|
||||
|
||||
/**
|
||||
* This column show the average facility index for this question.
|
||||
*
|
||||
@ -28,11 +29,6 @@ use qbank_statistics\helper;
|
||||
*/
|
||||
class facility_index extends column_base {
|
||||
|
||||
/**
|
||||
* Title for this column.
|
||||
*
|
||||
* @return string column title
|
||||
*/
|
||||
public function get_title(): string {
|
||||
return get_string('facility_index', 'qbank_statistics');
|
||||
}
|
||||
@ -41,20 +37,10 @@ class facility_index extends column_base {
|
||||
return new \help_icon('facility_index', 'qbank_statistics');
|
||||
}
|
||||
|
||||
/**
|
||||
* Column name.
|
||||
*
|
||||
* @return string column name
|
||||
*/
|
||||
public function get_name(): string {
|
||||
return 'facility_index';
|
||||
}
|
||||
|
||||
/**
|
||||
* Output the contents of this column.
|
||||
* @param object $question the row from the $question table, augmented with extra information.
|
||||
* @param string $rowclasses CSS class names that should be applied to this row of output.
|
||||
*/
|
||||
protected function display_content($question, $rowclasses) {
|
||||
global $PAGE;
|
||||
// Average facility index per quiz.
|
||||
|
Loading…
x
Reference in New Issue
Block a user