Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
core_files\hook\after_file_created Class Reference

Public Member Functions

 __construct (public stored_file readonly stored_file $storedfile, public stdClass readonly stdClass $filerecord,)
 Hook to allow subscribers to modify file after it is created.
 
 process_legacy_callbacks ()
 Process legacy callbacks.
 

Constructor & Destructor Documentation

◆ __construct()

core_files\hook\after_file_created::__construct ( public stored_file readonly stored_file $storedfile,
public stdClass readonly stdClass $filerecord )

Hook to allow subscribers to modify file after it is created.

Parameters
stored_file$storedfileThe stored file.
stdClass$filerecordThe file record.
Parameters
$storedfileThe stored file.
$filerecordThe file record.

The documentation for this class was generated from the following file: