|
@@ 335-345 (lines=11) @@
|
| 332 |
|
/** |
| 333 |
|
* Preserve adding Links in Templates ...won't work |
| 334 |
|
*/ |
| 335 |
|
function Link($x, $y, $w, $h, $link, $spaces = 0) { |
| 336 |
|
if (is_subclass_of($this, 'TCPDF')) { |
| 337 |
|
$args = func_get_args(); |
| 338 |
|
return call_user_func_array(array($this, 'TCPDF::Link'), $args); |
| 339 |
|
} |
| 340 |
|
|
| 341 |
|
if ($this->_intpl) |
| 342 |
|
$this->Error('Using links in templates aren\'t possible!'); |
| 343 |
|
|
| 344 |
|
parent::Link($x, $y, $w, $h, $link); |
| 345 |
|
} |
| 346 |
|
|
| 347 |
|
function AddLink() { |
| 348 |
|
if (is_subclass_of($this, 'TCPDF')) { |
|
@@ 358-367 (lines=10) @@
|
| 355 |
|
return parent::AddLink(); |
| 356 |
|
} |
| 357 |
|
|
| 358 |
|
function SetLink($link, $y = 0, $page = -1) { |
| 359 |
|
if (is_subclass_of($this, 'TCPDF')) { |
| 360 |
|
$args = func_get_args(); |
| 361 |
|
return call_user_func_array(array($this, 'TCPDF::SetLink'), $args); |
| 362 |
|
} |
| 363 |
|
|
| 364 |
|
if ($this->_intpl) |
| 365 |
|
$this->Error('Setting links in templates aren\'t possible!'); |
| 366 |
|
parent::SetLink($link, $y, $page); |
| 367 |
|
} |
| 368 |
|
|
| 369 |
|
/** |
| 370 |
|
* Private Method that writes the form xobjects |