本文整理匯總了PHP中FPDF::Footer方法的典型用法代碼示例。如果您正苦於以下問題:PHP FPDF::Footer方法的具體用法?PHP FPDF::Footer怎麽用?PHP FPDF::Footer使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類FPDF
的用法示例。
在下文中一共展示了FPDF::Footer方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Footer
function Footer()
{
parent::Footer();
global $user;
$date = date("F j, Y:H:i:s A");
$report_data = $date . ' Report by: ' . strtoupper($user);
$this->SetY(-20);
//Arial italic 8
$this->SetFont('Arial', 'I', 8);
//Reprt date
$this->Cell(0);
$this->Cell(-300, 10, $report_data, 0, 0, 'C', 0);
$this->Cell(50);
$this->Cell(0, 10, $this->PageNo(), 0, 0, 'R', 0);
}
示例2: Footer
public function Footer()
{
parent::Footer();
foreach ($this->listeners as $l) {
$l->onFooter();
}
}
示例3: Footer
function Footer()
{
//! @return void
//! @desc The footer is printed in every page!
//Position at 1.0 cm from bottom
parent::Footer();
$this->SetY(-10);
//Copyright //especial para esta versão
$this->SetFont('Arial', 'B', 9);
$this->SetTextColor(0);
//Arial italic 9
$this->SetFont('Arial', 'I', 9);
//Page number
//$this->SetFillColor(0,0,0);
//$this->Cell($this->w-$this->rMargin-$this->lMargin,0.2,'',1,0,'L',1);
//$this->Cell(0,10,$this->PageNo(),0,0,'R');
//Return Font to normal
//$this->SetFont('Arial','',11);
}
示例4: Footer
function Footer()
{
$this->SetY(-20);
$this->Cell(23, 5, "Hora de salida: ", 0, 0);
$this->Cell(20, 5, "", 1, 0);
$this->Cell(26, 5, " Hora de llegada: ", 0, 0);
$this->Cell(20, 5, "", 1, 0);
$this->Cell(25, 5, " Kms recorridos: ", 0, 0);
$this->Cell(20, 5, "", 1, 0);
parent::Footer();
}