Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
/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