当前位置: 首页>>代码示例>>PHP>>正文


PHP Pdf::model方法代码示例

本文整理汇总了PHP中Pdf::model方法的典型用法代码示例。如果您正苦于以下问题:PHP Pdf::model方法的具体用法?PHP Pdf::model怎么用?PHP Pdf::model使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Pdf的用法示例。


在下文中一共展示了Pdf::model方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: actionPrintWithdrawal

 /**
  * print cash withdrawal
  * 
  * @param int $id cash withdrawal id
  */
 public function actionPrintWithdrawal($id)
 {
     Pdf::model()->executePdf(Pdf::PORTRAIT, Pdf::A4, 'Savings Withdrawal', 'application.views.pdf.cashWithdrawal', array('withdrawal' => CashWithdrawals::model()->findByPk($id)), 'Savings Withdrawal');
 }
开发者ID:wanyos2005,项目名称:hsbf,代码行数:9,代码来源:CashWithdrawalsController.php

示例2: printTrialBalance

 /**
  * 
  * @param date $till yyyy-mm-dd
  */
 public function printTrialBalance($till)
 {
     Pdf::model()->executePdf(Pdf::PORTRAIT, Pdf::A4, 'Trial Balance', 'application.views.pdf.trialBalance', array('rows' => $this->balancesForMembers($this->cashAndBankBalances(array(), LoanApplications::model()->dayAfter($till)), Person::model()->membersForTrialBalance(), LoanApplications::model()->dayAfter($till), $till), 'till' => $till), 'Trial Balance');
 }
开发者ID:wanyos2005,项目名称:hsbf,代码行数:8,代码来源:Incomes.php

示例3: printReceipts

 /**
  * 
  * @param array $receipts receipt numbers
  */
 public function printReceipts($receipts)
 {
     Pdf::model()->executePdf(Pdf::PORTRAIT, Pdf::A4, 'Receipts', 'application.views.pdf.receipts', array('receipts' => $receipts), 'Receipts');
 }
开发者ID:wanyos2005,项目名称:hsbf,代码行数:8,代码来源:NextReceiptNo.php

示例4: printExpenditureJournal

 /**
  * 
  * @param date $since yyyy-mm-dd
  * @param date $till yyyy-mm-dd
  */
 public function printExpenditureJournal($since, $till)
 {
     Pdf::model()->executePdf(Pdf::PORTRAIT, Pdf::A4, 'Payment Expenditure Journal', 'application.views.pdf.expenseJournal', array('expenses' => $this->expendituresBetweenAndIncludingThisDates($since, $till), 'since' => $since, 'till' => $till), 'Payment Expenditure Journal');
 }
开发者ID:wanyos2005,项目名称:hsbf,代码行数:9,代码来源:Expenditures.php

示例5: loanStatements

 /**
  * 
  * @param int $id loan application id
  */
 public function loanStatements($id)
 {
     Pdf::model()->executePdf(Pdf::PORTRAIT, Pdf::A4, 'Loan Repayment Statement', 'application.views.pdf.loanRepayment', array('loanApplication' => $loanApplication = LoanApplications::model()->findByPk($id), 'person' => Person::model()->loadModel($loanApplication->member), 'transactions' => $this->orderLoanRepaymentTransactions(LoanRepayments::model()->memberLoanRepaymentsBtwnDatesAgain($id, $startDate = $loanApplication->close_date, $endDate = date('Y') . '-' . date('m') . '-' . date('d')), $loanApplication, $startDate, $endDate), 'endDate' => $endDate), 'Loan Repayment Statement');
 }
开发者ID:wanyos2005,项目名称:hsbf,代码行数:8,代码来源:ContributionsByMembersController.php

示例6: actionPrintLoan

 /**
  * print loan application
  * 
  * @param int $id loan application id
  */
 public function actionPrintLoan($id)
 {
     Pdf::model()->executePdf(Pdf::PORTRAIT, Pdf::A4, 'Loan Application', 'application.views.pdf.loanApplication', array('loan' => LoanApplications::model()->findByPk($id)), 'Loan Application');
 }
开发者ID:wanyos2005,项目名称:hsbf,代码行数:9,代码来源:LoanApplicationsController.php

示例7: actionPrintMembershipDetails

 /**
  * print membership details
  * 
  * @param int $id person id
  */
 public function actionPrintMembershipDetails($id)
 {
     $person = Person::model()->findByPk($id);
     Pdf::model()->executePdf(Pdf::PORTRAIT, Pdf::A4, 'Membership Details', 'application.views.pdf.memberDetails', array('person' => $person), "{$person->first_name} {$person->middle_name} {$person->last_name}");
 }
开发者ID:wanyos2005,项目名称:hsbf,代码行数:10,代码来源:DefaultController.php


注:本文中的Pdf::model方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。