Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
/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