當前位置: 首頁>>代碼示例>>PHP>>正文


PHP GFPDFEntryDetail::lead_detail_grid_array方法代碼示例

本文整理匯總了PHP中GFPDFEntryDetail::lead_detail_grid_array方法的典型用法代碼示例。如果您正苦於以下問題:PHP GFPDFEntryDetail::lead_detail_grid_array方法的具體用法?PHP GFPDFEntryDetail::lead_detail_grid_array怎麽用?PHP GFPDFEntryDetail::lead_detail_grid_array使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在GFPDFEntryDetail的用法示例。


在下文中一共展示了GFPDFEntryDetail::lead_detail_grid_array方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: foreach

    echo 'N/A';
}
?>
</div>
<div></div>
<hr></hr>
<div></div>


<?php 
// loop through all the returned results
$e_id = 0;
foreach ($all_entries as $entry) {
    $time_form = RGFormsModel::get_form_meta($the_form);
    $time_lead = RGFormsModel::get_lead($entry['id']);
    $time_form_data = GFPDFEntryDetail::lead_detail_grid_array($time_form, $time_lead);
    $time_lead_id = $_GET['lid'];
    $array = $time_form_data['list']['1'];
    //list field ID
    foreach ($array as $element) {
        if ($time_lead_id == $element['project']) {
            $task = $element['task'];
            if ($task == $_GET['task']) {
                $employees[$entry[2]]['name'] = $entry[2];
                $employees[$entry[2]]['date'][$element['date']] = $element['hours'];
                $employees[$entry[2]]['total_hours'] += $element['hours'];
                $e_id++;
            }
        }
    }
}
開發者ID:Divisiondev84,項目名稱:moneedemo,代碼行數:31,代碼來源:project_task_time.php

示例2: foreach

			font-family: DejaVuSansCondensed; margin-top: 6pt; margin-bottom: ; 
			text-align: ;  page-break-after:avoid; }




</style>
    <title>Gravity Forms PDF Extended</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
	<body>
        <?php 
foreach ($lead_ids as $lead_id) {
    $lead = RGFormsModel::get_lead($lead_id);
    do_action("gform_print_entry_header", $form, $lead);
    $form_data = GFPDFEntryDetail::lead_detail_grid_array($form, $lead);
    /*
     * Add &data=1 when viewing the PDF via the admin area to view the $form_data array
     */
    PDF_Common::view_data($form_data);
    /* get all the form values */
    /*$date_created		= $form_data['date_created'];
    
    			$first_name 		= $form_data['1.Name']['first'];
    			$last_name 			= $form_data['1.Name']['last'];*/
    //echo print_r($form_data['field'], true);
    $fundName = $form_data['field']['Fund Name'];
    $trusteeType = $form_data['field']['Trustee Type'];
    $attendedBy = "";
    $trusteeTrustees = "";
    $trusteesDirectors = "";
開發者ID:Ezyva2015,項目名稱:SMSF-Academy-Wordpress,代碼行數:31,代碼來源:inv-strategy.php

示例3: setup_form_data

 /**
  * Our software takes the $form and $entry details and converts it to the $form_data array
  * Set this up so all our functions have access
  * @group entry-detail
  */
 private function setup_form_data()
 {
     $form = RGFormsModel::get_form_meta($this->form_id[0]);
     $entry = RGFormsModel::get_lead($this->entries[0]);
     $this->form_data = GFPDFEntryDetail::lead_detail_grid_array($form, $entry);
 }
開發者ID:hirenbhut93,項目名稱:gravity-pdf,代碼行數:11,代碼來源:test-entry-detail.php


注:本文中的GFPDFEntryDetail::lead_detail_grid_array方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。