| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/vendor/mpdf/mpdf/src/Tag/ |
Upload File : |
<?php
namespace Mpdf\Tag;
class Bookmark extends Tag
{
public function open($attr, &$ahtml, &$ihtml)
{
if (isset($attr['CONTENT'])) {
$objattr = [];
$objattr['CONTENT'] = htmlspecialchars_decode($attr['CONTENT'], ENT_QUOTES);
$objattr['type'] = 'bookmark';
if (!empty($attr['LEVEL'])) {
$objattr['bklevel'] = $attr['LEVEL'];
} else {
$objattr['bklevel'] = 0;
}
$e = "\xbb\xa4\xactype=bookmark,objattr=" . serialize($objattr) . "\xbb\xa4\xac";
if ($this->mpdf->tableLevel) {
$this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['textbuffer'][] = [$e];
} // *TABLES*
else { // *TABLES*
$this->mpdf->textbuffer[] = [$e];
} // *TABLES*
}
}
public function close(&$ahtml, &$ihtml)
{
}
}