PMA\libraries\PDF::Footer PHP Method

    public function Footer()
    {
        // Check if footer for this page already exists
        if (!isset($this->footerset[$this->page])) {
            $this->SetY(-15);
            $this->SetFont(PDF::PMA_PDF_FONT, '', 14);
            $this->Cell(0, 6, __('Page number:') . ' ' . $this->getAliasNumPage() . '/' . $this->getAliasNbPages(), 'T', 0, 'C');
            $this->Cell(0, 6, Util::localisedDate(), 0, 1, 'R');
            $this->SetY(20);
            // set footerset
            $this->footerset[$this->page] = 1;
        }
    }

Usage Example

 /**
  * This function must be named "Footer" to work with the TCPDF library
  *
  * @return void
  *
  * @see PDF::Footer()
  */
 public function Footer()
 {
     if ($this->_withDoc) {
         parent::Footer();
     }
 }