Definition at line 26 of file Utilities.php.
static Xmf\Utilities::html2text |
( |
|
$document | ) |
|
|
static |
html2text This will remove HTML tags, javascript sections and white space. It will also convert some common HTML entities to their text equivalent. Credits to newbb2
- Parameters
-
string | $document | HTML to be converted |
- Returns
- string Text version of $documnent parameter
Definition at line 79 of file Utilities.php.
References $search, and $text.
static Xmf\Utilities::purifyText |
( |
|
$text, |
|
|
|
$keyword = false |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: