Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
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 |