containerType = 'header'; $this->sectionId = $sectionId; } /** * Add a Watermark Element * * @param string $src * @param mixed $style * @return Image */ public function addWatermark($src, $style = null) { return $this->addImage($src, $style, true); } /** * Get header type */ public function getType() { return $this->headerType; } /** * Reset type to default */ public function resetType() { return $this->headerType = self::AUTO; } /** * First page only header */ public function firstPage() { return $this->headerType = self::FIRST; } /** * Even numbered pages only */ public function evenPage() { return $this->headerType = self::EVEN; } }