Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
core_html2text Class Reference
Inheritance diagram for core_html2text:

Public Member Functions

 __construct ($html='', $options=array())
 Constructor.
 

Constructor & Destructor Documentation

◆ __construct()

core_html2text::__construct ( $html = '',
$options = array() )

Constructor.

If the HTML source string (or file) is supplied, the class will instantiate with that source propagated, all that has to be done it to call get_text().

Parameters
string$htmlSource HTML
array$optionsSet configuration options

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