File path: dist/twist/Core/Models/String/Html2Text.model.php
Namespace: Twist\Core\Models\String
buildlinkList
— Helper function called by preg_replace() on link replacement.
Maintains an internal list of links to be displayed at the end of the
text, with numeric indices to the original point in the text they
appeared. Also makes an effort at identifying and handling absolute
and relative links.
Name | Description |
---|---|
$link | n/a |
$display | n/a |
[$linkOverride = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$link = ;
$display = ;
$linkOverride = null;
//Call the function buildlinkList with the example vars
$resHtml2Text = new \Twist\Core\Models\String\Html2Text();
$resHtml2Text -> buildlinkList($link, $display, $linkOverride);