当前位置: 首页>>代码示例>>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;未经允许,请勿转载。