TwistPHP Documentation

Html2Text

File path: dist/twist/Core/Models/String/Html2Text.model.php
Namespace: Twist\Core\Models\String
Extends:

Type: Model

Html2Text — {data:class-info/description}

Example Usage

<?php
//Set the variables for the example
$html = ;

//Call the function setHtml with the example vars
$resHtml2Text = new \Twist\Core\Models\String\Html2Text();
$resHtml2Text -> setHtml($html);

Method List

Method Access Returns
legacyConstructprivatevoid
__constructconstructvoid
setHtmlpublicvoid
set_htmlpublicvoid
getTextpublicvoid
get_textpublicvoid
print_textpublicvoid
ppublicvoid
setBaseUrlpublicvoid
set_base_urlpublicvoid
convertprotectedvoid
converterprotectedvoid
buildlinkListprotectedvoid
convertPreprotectedvoid
convertBlockquotesprotectedvoid
pregCallbackprotectedvoid
pregPreCallbackprotectedvoid
toupperprivatevoid
strtoupperprivatevoid