/** * Preserve adding Links in Templates ...won't work */ function Link($x, $y, $w, $h, $link) { if (is_subclass_of($this, 'TCPDF')) { $args = func_get_args(); return call_user_func_array(array($this, 'TCPDF::Link'), $args); } if ($this->_intpl) { $this->Error('Using links in templates aren\'t possible!'); } parent::Link($x, $y, $w, $h, $link); }