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