You are here

public function W2PDF::setHeaderData in Webform2PDF 6

Same name and namespace in other branches
  1. 6.2 webform2pdf.class.inc \W2PDF::setHeaderData()
  2. 7.4 webform2pdf.class.inc \W2PDF::setHeaderData()
  3. 7.3 webform2pdf.class.inc \W2PDF::setHeaderData()

Set header data.

Parameters

array $ln header left, right image logo:

array $lw header left, right image logo width in mm:

string $hs string to print on document header:

string $hsa align string to print on document header:

File

./webform2pdf.class.inc, line 51

Class

W2PDF

Code

public function setHeaderData($ln = array(), $ls = array(), $hs = '', $hsa = '') {
  $this->header_logo = $ln;
  $this->header_logo_size = $ls;
  $this->header_string = $hs;
  $this->header_string_align = $hsa;
}