mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-11 05:18:40 +00:00
24 lines
542 B
PHP
Executable File
24 lines
542 B
PHP
Executable File
<?php
|
|
|
|
namespace Mpdf\Tag;
|
|
|
|
class TBody extends Tag
|
|
{
|
|
|
|
public function open($attr, &$ahtml, &$ihtml)
|
|
{
|
|
$this->mpdf->tablethead = 0;
|
|
$this->mpdf->tabletfoot = 0;
|
|
$this->mpdf->lastoptionaltag = 'TBODY'; // Save current HTML specified optional endtag
|
|
$this->cssManager->tbCSSlvl++;
|
|
$this->cssManager->MergeCSS('TABLE', 'TBODY', $attr);
|
|
}
|
|
|
|
public function close(&$ahtml, &$ihtml)
|
|
{
|
|
$this->mpdf->lastoptionaltag = '';
|
|
unset($this->cssManager->tablecascadeCSS[$this->cssManager->tbCSSlvl]);
|
|
$this->cssManager->tbCSSlvl--;
|
|
}
|
|
}
|