protected function _createSubHeader($subheader = '', $width = [], $level = 0) {
		if (empty($width)) {
			return;
		}

		$this->tcpdf->SetTextColor(0);
		$this->tcpdf->SetDrawColor(128, 0, 0);
		$this->tcpdf->SetLineWidth(0.3);
		if ($level > 3) {
			$level = 3;
		}
		$fontSize = 20 * (1 - $level / 4);

		$this->tcpdf->SetFont('', 'BI', $fontSize);
		$height = $this->_rowHeight['SubHeader'];
		$cells = [];
		$cells[] = [array_sum($width), $height, $subheader, 0, 'L', false, 0, '', '',
			true, 0, false, true, $height, 'M', true];
		$this->_writeMulticells($cells);
	}
protected function _createSubHeader($subheader = '', $width = [], $level = 0) {
		if (empty($width)) {
			return;
		}

		$this->tcpdf->SetTextColor(0);
		$this->tcpdf->SetDrawColor(128, 0, 0);
		$this->tcpdf->SetLineWidth(0.3);
		if ($level > 3) {
			$level = 3;
		}
		$fontSize = 20 * (1 - $level / 4);

		$this->tcpdf->SetFont('', 'BI', $fontSize);
		$height = $this->_rowHeight['SubHeader'];
		$cells = [];
		$cells[] = [array_sum($width), $height, $subheader, 0, 'L', false, 0, '', '',
			true, 0, false, true, $height, 'M', true];
		$this->_writeMulticells($cells);
	}
protected function _createSubHeader ( $ subheader = '' , $ width = [ ] , $ level = 0 ) { if ( empty ( $ width ) ) { return ; } $ this -> tcpdf -> SetTextColor ( 0 ) ; $ this -> tcpdf -> SetDrawColor ( 128 , 0 , 0 ) ; $ this -> tcpdf -> SetLineWidth ( 0.3 ) ; if ( $ level > 3 ) { $ level = 3 ; } $ fontSize = 20 * ( 1 - $ level / 4 ) ; $ this -> tcpdf -> SetFont ( '' , 'BI' , $ fontSize ) ; $ height = $ this -> _rowHeight [ 'SubHeader' ] ; $ cells = [ ] ; $ cells [ ] = [ array_sum ( $ width ) , $ height , $ subheader , 0 , 'L' , false , 0 , '' , '' , true , 0 , false , true , $ height , 'M' , true ] ; $ this -> _writeMulticells ( $ cells ) ; }
Write a subheader for table

@param string $subheader Text of subheader.
@param array $width Array of width for table cells.
@param int $level Current level of subheader (start from 0).
@return void
Write a subheader for table