|  | 
|  | __construct ($interface) | 
|  | Constructor. 
 | 
|  | 
|  | check ($mimes) | 
|  | Check current file up agains mime types and extensions in the given list. 
 | 
|  | 
|  | getName () | 
|  | Get the name of the current file. 
 | 
|  | 
|  | getResult () | 
|  | Get result from file processing. 
 | 
|  | 
|  | getType () | 
|  | Get the type of the current file. 
 | 
|  | 
|  | isLoaded () | 
|  | Indicates if an uploaded file was found or not. 
 | 
|  | 
|  | printResult () | 
|  | Print result from file processing. 
 | 
|  | 
|  | validate () | 
|  | Validate the file. 
 | 
|  | 
|  | 
|  | $extension | 
|  | 
|  | $mime | 
|  | 
|  | $name | 
|  | 
|  | $path | 
|  | 
|  | $size | 
|  | 
|  | $type | 
|  | 
◆ __construct()
      
        
          | Moodle\H5peditorFile::__construct | ( |  | $interface | ) |  | 
      
 
Constructor. 
Process data for file uploaded through the editor. 
 
 
◆ check()
      
        
          | Moodle\H5peditorFile::check | ( |  | $mimes | ) |  | 
      
 
Check current file up agains mime types and extensions in the given list. 
- Parameters
- 
  
    | array | $mimes | List to check against. |  
 
- Return values
- 
  
  
 
 
◆ getName()
      
        
          | Moodle\H5peditorFile::getName | ( |  | ) |  | 
      
 
Get the name of the current file. 
- Return values
- 
  
  
 
 
◆ getType()
      
        
          | Moodle\H5peditorFile::getType | ( |  | ) |  | 
      
 
Get the type of the current file. 
- Return values
- 
  
  
 
 
◆ isLoaded()
      
        
          | Moodle\H5peditorFile::isLoaded | ( |  | ) |  | 
      
 
Indicates if an uploaded file was found or not. 
- Return values
- 
  
  
 
 
◆ validate()
      
        
          | Moodle\H5peditorFile::validate | ( |  | ) |  | 
      
 
Validate the file. 
- Return values
- 
  
  
 
 
The documentation for this class was generated from the following file:
- h5p/h5plib/v127/joubel/editor/h5peditor-file.class.php