Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.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: 87 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

copy_action:: (3 methods):
  init()
  duplicate_question_moodle_url()
  get_url_icon_and_label()


Class: copy_action  - X-Ref

Question bank column for the duplicate action icon.

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


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