mPDF Manual – mPDF functions

SetHTMLFooter()

(mPDF ≥ 1.2)

SetHTMLFooter – Sets an HTML page footer

Description

void SetHTMLFooter ( string $html [, string $side ])

Set an HTML page footer.

Parameters

$header

This parameter specifies the content of the page footer as a string of valid HTML code.

Default: BLANK

$side

Specify whether to set the footer for ODD or EVEN pages in a DOUBLE-SIDED document.

Default: 'O'

Values (case-sensitive)

  • 'O' - set the footer for ODD pages
  • 'E' - set the footer for EVEN pages

BLANK - set the footer for ODD pages

Changelog

Version Description
1.2 The function was added.

Examples

For examples and further information please see:

See Also

Fork me on GitHub