TwistPHP Documentation

setBaseUrl

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

setBaseUrlSets a base URL to handle relative links.

Parameters

Name Type Description
$baseurln/a

Return Values

void — No return information has been documented for this function.

Example

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

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