Get plain text for a given text
public static convertToPlainText ( string $text, boolean $includeAHrefs = true, boolean $includeImgAlts = true ) : string | ||
$text | string | The text to convert. |
$includeAHrefs | boolean | Should the url be appended after the link-text? |
$includeImgAlts | boolean | Should the alt tag be inserted for images? |
return | string |