function SetLink($link, $y = 0, $page = -1) { if (is_subclass_of($this, 'TCPDF')) { $args = func_get_args(); return call_user_func_array(array($this, 'TCPDF::SetLink'), $args); } if ($this->_intpl) { $this->Error('Setting links in templates aren\'t possible!'); } parent::SetLink($link, $y, $page); }