. namespace qbank_statistics; use qbank_statistics\columns\facility_index; use qbank_statistics\columns\discrimination_index; use qbank_statistics\columns\discriminative_efficiency; /** * Class plugin_features is the entrypoint for the columns. * * @package qbank_statistics * @copyright 2021 Catalyst IT Australia Pty Ltd * @author Nathan Nguyen * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class plugin_feature extends \core_question\local\bank\plugin_features_base { /** * This method will return the array of objects to be rendered as a prt of question bank columns/actions. * * @param view $qbank * @return array */ public function get_question_columns($qbank): array { return [ new discrimination_index($qbank), new facility_index($qbank), new discriminative_efficiency($qbank) ]; } }