Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
/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