1<?php 2 3namespace Mpdf\Tag; 4 5class TocPageBreak extends FormFeed 6{ 7 public function open($attr, &$ahtml, &$ihtml) 8 { 9 list($isbreak, $toc_id) = $this->tableOfContents->openTagTOCPAGEBREAK($attr); 10 $this->toc_id = $toc_id; 11 if ($isbreak) { 12 return; 13 } 14 parent::open($attr, $ahtml, $ihtml); 15 } 16} 17