|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
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 |