Represents a document icon.  
 More...
|  | 
| string | $component | 
|  | Icon file component. 
 | 
|  | 
| string | $name | 
|  | Icon file name. 
 | 
|  | 
◆ __construct()
      
        
          | core_search\document_icon::__construct | ( |  | $name, | 
        
          |  |  |  | $component = 'moodle' ) | 
      
 
Constructor. 
- Parameters
- 
  
    | string | $name | Icon name. |  | string | $component | Icon component. |  
 
 
 
◆ get_component()
      
        
          | core_search\document_icon::get_component | ( |  | ) |  | 
      
 
Returns the component of the icon file. 
- Return values
- 
  
  
 
 
◆ get_name()
      
        
          | core_search\document_icon::get_name | ( |  | ) |  | 
      
 
Returns name of the icon file. 
- Return values
- 
  
  
 
 
The documentation for this class was generated from the following file: