本文整理汇总了PHP中Supplier::getAddressl1方法的典型用法代码示例。如果您正苦于以下问题:PHP Supplier::getAddressl1方法的具体用法?PHP Supplier::getAddressl1怎么用?PHP Supplier::getAddressl1使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Supplier
的用法示例。
在下文中一共展示了Supplier::getAddressl1方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Supplier
$j++;
}
$supp = new Supplier();
$supp->setSID($_POST['Supplier_ID']);
$supp->setSupplierDetails();
$pdf = new PDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
//$pdf->AliasNbPages();
$pdf->setAutoPageBreak(TRUE, 45);
$pdf->AddPage('P', 'A4');
$pdf->SetFont('helvetica', 'B', 13);
$pdf->SetY(56);
$pdf->Cell(125, 8, $supp->getName(), 0, 0, 'L');
$pdf->SetFont('helvetica', 'B', 14);
$pdf->Cell(100, 8, "DC NO: {$dcno}", 0, 1, 'L');
$pdf->SetFont('helvetica', '', 13);
$pdf->Cell(125, 8, $supp->getAddressl1(), 0, 0, 'L');
$pdf->Cell(100, 8, "Date: {$dcdate}", 0, 1, 'L');
$pdf->Cell(125, 8, $supp->getAddressl2(), 0, 0, 'L');
$pdf->Cell(100, 8, "Your Ref: {$cref}", 0, 1, 'L');
$pdf->Cell(125, 8, "Phone No: " . $supp->getPhoneNo(), 0, 0, 'L');
$pdf->Cell(100, 8, "Date: {$crefdate}", 0, 1, 'L');
$pdf->ln();
$pdf->line(0, 87, 220, 87);
//line before mode of dispatch
$pdf->setY(86);
$pdf->MultiCell(125, 16, "Please receive the following materials and acknowledge the receipt", 0, 'L', 0, 0, '', '', true, 0, false, true, 16, 'M', true);
$pdf->Cell(100, 8, "Mode Of Dispatch: {$dmode}", 0, 1, 'L');
$pdf->Cell(125, 8, "", 0, 0, 'L');
$pdf->Cell(100, 8, "Status: {$dctype}", 0, 1, 'L');
$pdf->SetFont('helvetica', '', 10);
$pdf->Cell(150, 8, '', 0, 1, 'L');
示例2: Supplier
if (isset($_POST['previewok'])) {
$previewok = $_POST['previewok'];
} else {
$previewok = '';
}
if (isset($_POST['opid'])) {
$po->setValue('potermid', $_POST['opid']);
$potermid = $_POST['opid'];
}
$popath = '/home/www/divyaeng2/popdfs/';
// $popath='/www/divyaeng2/popdfs/';
$supp = new Supplier();
$supp->setSID($_POST['Supplier_ID']);
$supp->setSupplierDetails();
$sname = $supp->getName();
$addli = $supp->getAddressl1();
$addl2 = $supp->getAddressl2();
$phoneno = $supp->getPhoneNo();
class PDF extends TCPDF
{
// Page header
function Header()
{
$sname = $GLOBALS['sname'];
$addli = $GLOBALS['addli'];
$addl2 = $GLOBALS['addl2'];
$podate = $GLOBALS['podate'];
$suppref = $GLOBALS['suppref'];
$phoneno = $GLOBALS['phoneno'];
$supprefdate = $GLOBALS['supprefdate'];
$pono = $GLOBALS['pono'];