Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Represents a document icon. More...
Public Member Functions | |
__construct ($name, $component='moodle') | |
Constructor. More... | |
get_component () | |
Returns the component of the icon file. More... | |
get_name () | |
Returns name of the icon file. More... | |
Protected Attributes | |
string | $component |
Icon file component. | |
string | $name |
Icon file name. | |
Represents a document icon.
core_search\document_icon::__construct | ( | $name, | |
$component = 'moodle' |
|||
) |
Constructor.
string | $name | Icon name. |
string | $component | Icon component. |
core_search\document_icon::get_component | ( | ) |
Returns the component of the icon file.
string |
core_search\document_icon::get_name | ( | ) |
Returns name of the icon file.
string |