Course copy class.
More...
|
static | get_copies (int $userid, int $courseid=0) |
| Get the in progress course copy operations for a user.
|
|
Course copy class.
Handles procesing data submitted by UI copy form and sets up the course copy process.
- Copyright
- 2020 onward The Moodle Users Association https://moodleassociation.org/
- Author
- Matt Porritt mattp.nosp@m.@cat.nosp@m.alyst.nosp@m.-au..nosp@m.net
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Deprecated
- since Moodle 4.1 MDL-74548 - please use copy_helper instead
- Todo
- MDL-75022 This class will be deleted in Moodle 4.5
- See also
- copy_helper
◆ __construct()
core_backup\copy\copy::__construct |
( |
\stdClass | $formdata | ) |
|
Constructor for the class.
- Parameters
-
stdClass | $formdata | Data from the validated course copy form. |
◆ create_copy()
core_backup\copy\copy::create_copy |
( |
| ) |
|
◆ get_copies()
static core_backup\copy\copy::get_copies |
( |
int | $userid, |
|
|
int | $courseid = 0 ) |
|
static |
The documentation for this class was generated from the following file:
- backup/util/ui/classes/copy/copy.php