Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
/sub/dir

/'}

/'}

Parameters
string$filenamethe name of the migrated file, defaults to the same as the source file has
int$sortorderthe sortorder of the file (main files have sortorder set to 1)
int$timecreatedoverride the timestamp of when the migrated file should appear as created
int$timemodifiedoverride the timestamp of when the migrated file should appear as modified
Return values
intid of the migrated file