@@ -254,10 +254,18 @@ |
||
254 | 254 | private $headerFcn; |
255 | 255 | private $footerFcn; |
256 | 256 | |
257 | - public function Footer() { return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; } |
|
258 | - public function Header() { return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; } |
|
259 | - public function setFooterFunction( \Closure $fcn ) { $this->footerFcn = $fcn; } |
|
260 | - public function setHeaderFunction( \Closure $fcn ) { $this->headerFcn = $fcn; } |
|
257 | + public function Footer() |
|
258 | + { |
|
259 | +return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; } |
|
260 | + public function Header() |
|
261 | + { |
|
262 | +return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; } |
|
263 | + public function setFooterFunction( \Closure $fcn ) |
|
264 | + { |
|
265 | +$this->footerFcn = $fcn; } |
|
266 | + public function setHeaderFunction( \Closure $fcn ) |
|
267 | + { |
|
268 | +$this->headerFcn = $fcn; } |
|
261 | 269 | }; |
262 | 270 | $pdf->setCreator( PDF_CREATOR ); |
263 | 271 | $pdf->setAuthor( 'Aimeos' ); |