Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
/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