I try to use writeHTML in function Header but i have this error:Undefined offset: 1
I try to use writeHTML in function Header but i have this error:Undefined offset: 1
there’s no writeHTML function in Yii, as far as i know
Try Chtml::something
Is not a problem of Yii bug of tcpdf library.
I have no experience with this, I always used fpdf library instead without any integration problem.
Thanks, but i use library TCPDF and i have to add fixed header in my pdf this is a part of code:
class MYPDF extends TCPDF {
public function Header(){
$this->writeHTML($this->img, true, 0, true, 0);
}
}