本文整理汇总了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();
}