Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Question bank column for the duplicate action icon.

Copyright: 2013 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 91 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

copy_action_column:: (4 methods):
  init()
  get_name()
  duplicate_question_moodle_url()
  get_url_icon_and_label()


Class: copy_action_column  - X-Ref

Question bank column for the duplicate action icon.

init()   X-Ref
Contains the url of the edit question page.


get_name()   X-Ref
No description

duplicate_question_moodle_url($questionid)   X-Ref
Get the URL for duplicating a question as a moodle_url.

param: int $questionid the question id.
return: \moodle_url the URL.

get_url_icon_and_label(\stdClass $question)   X-Ref
No description