Topic: addLink => AddLink, link text parameter?
The function AddLink is defined in class TCPDF in line 2722 of reporting/includes/tcpdf.php.
This class TCPDF extended by class FPDF in reporting/includes/fpdi/fpdi2tcpdf_bridge.php .
The class FPDF is further extended by class FPDF_TPL in reporting/ncludes/fpdi/fpdf_tpl.php where the error override function AddLink is defined in Line 306 to redirect to it's namesake in the original grandparent class TCPDF.
FPDF_TPL is now extended by class FPDI in reporting/includes/fpdi/fpdi.php
There is no reference to the function addLink() in any of these classes (note case). The function addLink is used twice in reporting/includes/header2.inc :
Line 116:
$this->addLink($url, $c2col, $this->row, $mcol, $this->row + $this->lineHeight);
Line 202:
$this->addLink($txt, $ccol, $this->row, $this->pageWidth - $this->rightMargin, $this->row + $this->lineHeight);
If we assume that it is a typo and correct it to AddLink, then the function description states that it is an internal link within the document only but our usage in FA is for external links which require the SetLink method of TCPDF.
Commenting out the said lines (tested commenting out line 202) results in no loss in functionality - the link is clickable in the PDF. This means that when any URL is sent to the TextWrap method that preceeded the addLink, it will intelligently be rendered clickable.
Which parameter is then to be used in setting the display text for the link if it needs to be other than the url?