Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
|
Public Member Functions | |
__construct ($html='', $options=array()) | |
Constructor. | |
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().
string | $html | Source HTML |
array | $options | Set configuration options |