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


PHP verifyID函数代码示例

本文整理汇总了PHP中verifyID函数的典型用法代码示例。如果您正苦于以下问题:PHP verifyID函数的具体用法?PHP verifyID怎么用?PHP verifyID使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: view

 function view($lPledgeID)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     global $gdteNow, $gclsChapterACO, $gbDateFormatUS;
     if (!bTestForURLHack('showFinancials')) {
         return;
     }
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lPledgeID, 'pledge ID');
     $displayData = array();
     $displayData['lPledgeID'] = $lPledgeID = (int) $lPledgeID;
     $displayData['js'] = '';
     // load models
     $params = array('enumStyle' => 'terse');
     $this->load->library('generic_rpt', $params);
     $this->load->helper('dl_util/web_layout');
     //      $this->load->helper ('dl_util/email_web');
     $this->load->helper('gifts/pledge');
     $this->load->model('admin/madmin_aco', 'clsACO');
     $this->load->model('people/mpeople', 'clsPeople');
     $this->load->model('biz/mbiz', 'clsBiz');
     $this->load->model('donations/maccts_camps', 'clsAC');
     $this->load->model('donations/mpledges', 'clsPledges');
     $this->load->model('donations/mdonations', 'clsGifts');
     $this->load->helper('js/div_hide_show');
     $displayData['js'] .= showHideDiv();
     $this->clsPledges->loadPledgeViaPledgeID($lPledgeID);
     $displayData['pledge'] = $pledge =& $this->clsPledges->pledges[0];
     $displayData['lFID'] = $lFID = $pledge->lForeignID;
     $bPeople = !$pledge->bBiz;
     $displayData['pledge']->curTotFulfill = $this->clsPledges->curTotalFulfillmentViaPledgeID($pledge->lKeyID, $pledge->lACOID);
     $this->clsPledges->pledgeSchedule($pledge, $displayData['schedule']);
     $this->clsPledges->curFillmentViaPledgeID($pledge->lKeyID, $pledge->lACOID, $this->clsGifts);
     //------------------------------------------------
     // stripes
     //------------------------------------------------
     $this->load->model('util/mbuild_on_ready', 'clsOnReady');
     $this->clsOnReady->addOnReadyTableStripes();
     $this->clsOnReady->closeOnReady();
     $displayData['js'] .= $this->clsOnReady->strOnReady;
     //--------------------------
     // breadcrumbs
     //--------------------------
     $displayData['mainTemplate'] = 'donations/pledge_record_view';
     if ($bPeople) {
         $displayData['pageTitle'] = anchor('main/menu/people', 'People', 'class="breadcrumb"') . ' | ' . anchor('people/people_record/view/' . $lFID, 'Record', 'class="breadcrumb"') . ' | View Pledge Record';
         $this->clsPeople->loadPeopleViaPIDs($lFID, false, false);
         $displayData['contextSummary'] = $this->clsPeople->peopleHTMLSummary(0);
     } else {
         $displayData['pageTitle'] = anchor('main/menu/biz', 'Businesses/Organizations', 'class="breadcrumb"') . ' | ' . anchor('biz/biz_record/view/' . $lFID, 'Record', 'class="breadcrumb"') . ' | View Pledge Record';
         $this->clsBiz->loadBizRecsViaBID($lFID);
         $displayData['contextSummary'] = $this->clsBiz->strBizHTMLSummary(0);
     }
     $displayData['title'] = CS_PROGNAME . ' | Pledges';
     $displayData['nav'] = $this->mnav_brain_jar->navData();
     $this->load->vars($displayData);
     $this->load->view('template');
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:60,代码来源:pledge_record.php

示例2: setActiveState

 function setActiveState($lPatientID, $bSetToActive)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     global $glChapterID;
     global $gbVolMgr, $glChapterID;
     if (!bTestForURLHack('volMgr')) {
         return;
     }
     $this->load->helper('dl_util/verify_id');
     verifyID($glChapterID, $lPatientID, 'patient ID');
     $lPatientID = (int) $lPatientID;
     $bSetToActive = $bSetToActive == 'true';
     //------------------------------------------------
     // models, libraries and utilities
     //------------------------------------------------
     $this->load->model('patients/mpatients', 'cPatients');
     // load patient record
     $this->cPatients->loadPatientsViaPatientID($lPatientID);
     $pRec =& $this->cPatients->patients[0];
     $strDirLetter = strtoupper(substr($pRec->strLName, 0, 1));
     $this->cPatients->updateActiveStatus($lPatientID, $bSetToActive);
     $this->session->set_flashdata('msg', 'The patient record for <b>' . htmlspecialchars($pRec->strFName . ' ' . $pRec->strLName) . '</b> was set to <b>' . ($bSetToActive ? 'active' : 'inactive') . '</b>.');
     redirect('hospice/patients/patient_directory/view/Y/' . $strDirLetter);
 }
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:26,代码来源:patient_util.php

示例3: addNewClientS2

 function addNewClientS2($lClientID, $lLocID, $lStatCatID, $lVocID)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     if (!bTestForURLHack('showClients')) {
         return;
     }
     $this->load->helper('dl_util/verify_id');
     verifyIDsViaType($this, CENUM_CONTEXT_CLIENT, $lClientID, true);
     verifyID($this, $lLocID, 'client location ID');
     verifyID($this, $lStatCatID, 'status category ID');
     verifyID($this, $lVocID, 'client vocabulary ID');
     $lClientID = (int) $lClientID;
     $lLocID = (int) $lLocID;
     $lStatCatID = (int) $lStatCatID;
     $lVocID = (int) $lVocID;
     $this->load->library('util/dl_date_time', '', 'clsDateTime');
     $this->load->model('clients/mclients', 'clsClients');
     $this->clsClients->loadClientsViaClientID($lClientID);
     $client = $this->clsClients->clients[0];
     $client->lLocationID = $lLocID;
     $client->lStatusCatID = $lStatCatID;
     $client->lVocID = $lVocID;
     $this->addEditClient($lClientID, $this->clsClients);
 }
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:26,代码来源:patient_rec_add_edit.php

示例4: addEditCommon

 private function addEditCommon($bEnroll, $lFID, $lClientID, $lCProgID, $lERecID = null, $bUseReturnPath = false)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     if (!bTestForURLHack('showClients')) {
         return;
     }
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lClientID, 'client ID');
     verifyID($this, $lCProgID, 'client program ID');
     $lFID = (int) $lFID;
     $lClientID = (int) $lClientID;
     $lCProgID = (int) $lCProgID;
     //-------------------------
     // models & helpers
     //-------------------------
     $this->load->model('client_features/mcprograms', 'cprograms');
     $this->load->model('personalization/muser_fields', 'clsUF');
     $this->load->model('admin/mpermissions', 'perms');
     $this->load->helper('img_docs/image_doc');
     // load the client program
     $this->cprograms->loadClientProgramsViaCPID($lCProgID);
     $cprog =& $this->cprograms->cprogs[0];
     if ($bEnroll) {
         $lTableID = $cprog->lEnrollmentTableID;
     } else {
         $lTableID = $cprog->lAttendanceTableID;
     }
     redirect('admin/uf_multirecord/addEditMultiRecord/' . $lTableID . '/' . $lClientID . '/' . $lFID . '/' . (is_null($lERecID) ? '0' : $lERecID) . '/' . ($bUseReturnPath ? 'true' : 'false'));
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:31,代码来源:enroll_attend_add_edit.php

示例5: mgrViewLog

 function mgrViewLog($lUserID)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lUserID, 'user ID');
     $lUserID = (int) $lUserID;
     $displayData = array();
     $displayData['js'] = '';
     $this->load->helper('dl_util/permissions');
     // in autoload
     if (!bAllowAccess('management')) {
         return '';
     }
     $displayData['lUserID'] = $lUserID = (int) $lUserID;
     //-------------------------------------
     // models, libraries, and helpers
     //-------------------------------------
     $this->load->model('staff/mstaff_status', 'cstat');
     $this->load->model('admin/muser_accts', 'clsUser');
     $this->load->model('admin/mpermissions', 'perms');
     $this->load->helper('dl_util/web_layout');
     $this->load->helper('staff/link_staff');
     $this->load->helper('staff/status_report');
     // load the current user's record
     $this->clsUser->loadSingleUserRecord($lUserID);
     $displayData['uRec'] = $uRec =& $this->clsUser->userRec[0];
     $this->cstat->loadStatusReportViaUserID($lUserID);
     $displayData['lNumSReports'] = $lNumSReports = $this->cstat->lNumSReports;
     $displayData['sreports'] = $sreports =& $this->cstat->sreports;
     //      $displayData['bReviewedByTheMan'] = false;
     // load the reviews for this status report
     if ($lNumSReports > 0) {
         foreach ($sreports as $srpt) {
             $lRptID = $srpt->lKeyID;
             $srpt->bReviewedByTheMan = false;
             $this->cstat->loadReviewsViaRptID($lRptID, $srpt->lNumReviews, $srpt->reviewLog);
             if ($srpt->lNumReviews > 0) {
                 foreach ($srpt->reviewLog as $rlog) {
                     if ($rlog->lReviewerID == $lUserID) {
                         $srpt->bReviewedByTheMan = true;
                         break;
                     }
                 }
             }
         }
     }
     //--------------------------
     // breadcrumbs
     //--------------------------
     $displayData['pageTitle'] = anchor('aayhf/main/aayhfMenu', 'AAYHF', 'class="breadcrumb"') . ' | ' . anchor('staff/mgr_performance/review', 'Status Report Review', 'class="breadcrumb"') . ' | Status Log for ' . $uRec->strSafeName;
     $displayData['title'] = CS_PROGNAME . ' | Status Report Review';
     $displayData['nav'] = $this->mnav_brain_jar->navData();
     $displayData['mainTemplate'] = 'aayhf/aayhf_staff/mgr_status_staff_log_view';
     $this->load->vars($displayData);
     $this->load->view('template');
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:58,代码来源:mgr_performance.php

示例6: viewRec

 function viewRec($lVolID)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     global $gbVolMgr, $glChapterID, $gstrFormatDatePicker, $gbDateFormatUS;
     global $glUserID, $gbVolLogin;
     $this->load->helper('dl_util/verify_id');
     verifyID($glChapterID, $lVolID, 'volunteer ID');
     $displayData = array();
     $displayData['lVolID'] = $lVolID = (int) $lVolID;
     $displayData['js'] = '';
     $displayData['formData'] = new stdClass();
     //------------------------------------------------
     // models, libraries and utilities
     //------------------------------------------------
     $this->load->model('vols/mvol', 'cVol');
     $this->load->model('vols/mvol_training', 'cvt');
     $this->load->model('hospice/mhospice_pvisit', 'cPVisit');
     $this->load->model('admin/mpermissions', 'perms');
     $this->load->model('admin/muser_accts', 'cusers');
     $this->load->helper('dl_util/web_layout');
     $this->load->helper('dl_util/time_date');
     $this->load->helper('hospice/link_hospice');
     $this->load->library('util/dl_date_time', '', 'clsDateTime');
     $this->load->helper('js/div_hide_show');
     $displayData['js'] .= showHideDiv();
     //------------------------------------------------
     // stripes
     //------------------------------------------------
     $this->load->model('util/mbuild_on_ready', 'clsOnReady');
     $this->clsOnReady->addOnReadyTableStripes();
     $this->clsOnReady->closeOnReady();
     $displayData['js'] .= $this->clsOnReady->strOnReady;
     // load volunteer record
     $this->cVol->loadVolRecsViaVolID($lVolID, true);
     $displayData['volRec'] = $volRec =& $this->cVol->volRecs[0];
     // associated patient contacts
     $this->cVol->loadVolClientAssocViaVolID($lVolID, $displayData['volClient'], true);
     // vol stats
     $this->cPVisit->loadVolActivityStats($lVolID, $displayData['volStats']);
     // vol training
     $this->cvt->loadVolTrainingViaVID($lVolID, $displayData['lNumTraining'], $displayData['training']);
     //--------------------------
     // breadcrumbs
     //--------------------------
     $params = array('enumStyle' => 'terse');
     $this->load->library('generic_rpt', $params, 'generic_rpt');
     $displayData['clsRpt'] = $this->generic_rpt;
     $displayData['pageTitle'] = 'Volunteer Record';
     $displayData['title'] = CS_PROGNAME . ' | Volunteer';
     $displayData['nav'] = $this->mnav_brain_jar->navData();
     $displayData['mainTemplate'] = 'hospice/vols/volunteer_rec_view';
     $this->load->vars($displayData);
     $this->load->view('template');
 }
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:56,代码来源:vol_record.php

示例7: viewEntry

 function viewEntry($lDepositID)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     if (!bTestForURLHack('showFinancials')) {
         return;
     }
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lDepositID, 'deposit ID');
     $displayData = array();
     $displayData['lDepositID'] = $lDepositID = (int) $lDepositID;
     // models/helpers
     $this->load->helper('dl_util/web_layout');
     $this->load->model('admin/madmin_aco', 'clsACO');
     $this->load->model('financials/mdeposits', 'clsDeposits');
     $this->load->model('donations/mdonations', 'clsGifts');
     //------------------------------------------------
     // stripes
     //------------------------------------------------
     $this->load->model('util/mbuild_on_ready', 'clsOnReady');
     $this->clsOnReady->addOnReadyTableStripes();
     $this->clsOnReady->closeOnReady();
     $displayData['js'] = $this->clsOnReady->strOnReady;
     $this->clsDeposits->strWhereExtra = " AND dl_lKeyID = {$lDepositID} ";
     $this->clsDeposits->loadDepositReports();
     $displayData['deposit'] = $this->clsDeposits->deposits[0];
     $displayData['lNumGifts'] = $this->clsDeposits->lNumGiftsViaDeposit($lDepositID, $curTot);
     $displayData['curTot'] = $curTot;
     $this->clsDeposits->loadGroupedDepositReportsViaDepositID((int) $lDepositID);
     $displayData['lNumDepositSummary'] = $lNumDepositSummary = $this->clsDeposits->lNumDepositSummary;
     $displayData['depositSummary'] =& $this->clsDeposits->depositSum;
     $displayData['reportID'] = $this->strExportID($lDepositID);
     // load gifts based on payment type
     if ($lNumDepositSummary > 0) {
         $displayData['gifts'] = array();
         $idx = 0;
         foreach ($this->clsDeposits->depositSum as $dep) {
             $displayData['gifts'][$idx] = new stdClass();
             $gInfo =& $displayData['gifts'][$idx];
             $gInfo->safePayType = $dep->strSafePaymentType;
             $this->clsDeposits->loadGiftsViaDIDPayID($lDepositID, $dep->lPaymentType, $gInfo->lNumGifts, $gInfo->gifts);
             ++$idx;
         }
     }
     //--------------------------
     // breadcrumbs
     //--------------------------
     $displayData['pageTitle'] = anchor('main/menu/financials', 'Financials/Grants', 'class="breadcrumb"') . ' | ' . anchor('financials/deposit_log/view', 'Deposit Log', 'class="breadcrumb"') . ' | Deposit Record';
     $displayData['title'] = CS_PROGNAME . ' | Financials';
     $displayData['nav'] = $this->mnav_brain_jar->navData();
     $displayData['mainTemplate'] = 'financials/deposit_record_view';
     $this->load->vars($displayData);
     $this->load->view('template');
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:55,代码来源:deposit_log.php

示例8: view

 public function view($lPPTestID)
 {
     //-------------------------------------------------------------------------
     //
     //-------------------------------------------------------------------------
     if (!bTestForURLHack('showClients')) {
         return;
     }
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lPPTestID, 'pre/post test ID');
     $displayData = array();
     $displayData['js'] = '';
     $displayData['lPPTestID'] = $lPPTestID = (int) $lPPTestID;
     //-------------------------
     // models & helpers
     //-------------------------
     $this->load->model('client_features/mcpre_post_tests', 'cpptests');
     $this->load->model('admin/mpermissions', 'perms');
     $this->load->model('groups/mgroups', 'groups');
     $this->load->helper('dl_util/web_layout');
     $this->load->helper('clients/link_client_features');
     $this->load->helper('dl_util/record_view');
     $this->load->helper('img_docs/link_img_docs');
     $this->load->helper('personalization/ptable');
     $this->load->helper('groups/groups');
     $params = array('enumStyle' => 'terse', 'clsRpt');
     $this->load->library('generic_rpt', $params);
     $this->load->helper('js/div_hide_show');
     $displayData['js'] .= showHideDiv();
     // load the Pre/Post test
     $this->cpptests->loadPPTestsViaPPTID($lPPTestID);
     $displayData['pptest'] = $pptest =& $this->cpptests->pptests[0];
     $displayData['lNumQuests'] = $this->cpptests->lNumQuestsViaPPTID($lPPTestID);
     //-------------------------------
     // permission groups
     //-------------------------------
     $this->groups->groupMembershipViaFID(CENUM_CONTEXT_CPREPOST, $lPPTestID);
     $displayData['pdgroup'] = new stdClass();
     $pdgroup =& $displayData['pdgroup'];
     $pdgroup->inGroups =& $this->groups->arrMemberInGroups;
     $pdgroup->lCntGroupMembership = $this->groups->lNumMemInGroups;
     $pdgroup->lNumGroups = $this->groups->lCntActiveGroupsViaType(CENUM_CONTEXT_CPREPOST);
     $this->groups->loadActiveGroupsViaType(CENUM_CONTEXT_CPREPOST, 'groupName', $this->groups->strMemListIDs, false, null);
     $pdgroup->groupList = $this->groups->arrGroupList;
     //--------------------------
     // breadcrumbs
     //--------------------------
     $displayData['pageTitle'] = anchor('main/menu/client', 'Clients', 'class="breadcrumb"') . ' | ' . anchor('cpre_post_tests/pptests/overview', 'Client Pre/Post Tests', 'class="breadcrumb"') . ' | ' . htmlspecialchars($pptest->strTestName);
     $displayData['title'] = CS_PROGNAME . ' | Clients';
     $displayData['nav'] = $this->mnav_brain_jar->navData();
     $displayData['mainTemplate'] = 'cpre_post_tests/pp_record_view';
     $this->load->vars($displayData);
     $this->load->view('template');
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:54,代码来源:pptest_record.php

示例9: viewQuestions

 public function viewQuestions($lPPTestID)
 {
     //-------------------------------------------------------------------------
     //
     //-------------------------------------------------------------------------
     global $glUserID;
     /*----------------------------
     echo(__FILE__.' '.__LINE__.'<br>'."\n"); $this->output->enable_profiler(TRUE);
     //----------------------------- */
     if (!bTestForURLHack('showClients')) {
         return;
     }
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lPPTestID, 'pre/post test ID');
     $displayData = array();
     $displayData['js'] = '';
     //-------------------------
     // models & helpers
     //-------------------------
     $this->load->model('client_features/mcpre_post_tests', 'cpptests');
     $this->load->model('admin/mpermissions', 'perms');
     $this->load->helper('clients/link_client_features');
     $this->load->library('util/up_down_top_bottom');
     $params = array('enumStyle' => 'terse');
     $this->load->library('generic_rpt', $params);
     //--------------------------
     // Stripes
     //--------------------------
     $this->load->model('util/mbuild_on_ready', 'clsOnReady');
     $this->clsOnReady->addOnReadyTableStripes();
     $this->clsOnReady->closeOnReady();
     $displayData['js'] .= $this->clsOnReady->strOnReady;
     //-------------------------
     // load the pre/post test
     //-------------------------
     $this->cpptests->loadPPTestsViaPPTID($lPPTestID);
     $displayData['pptest'] = $pptest =& $this->cpptests->pptests[0];
     //-------------------------
     // load the questions
     //-------------------------
     $this->cpptests->loadQuestionsViaPPTID($lPPTestID);
     $displayData['quests'] = $quests =& $this->cpptests->questions;
     $displayData['lNumQuestions'] = $this->cpptests->lNumQuestions;
     $displayData['strTestSummary'] = $this->cpptests->strHTMLPPTestSummaryDisplay();
     //--------------------------
     // breadcrumbs
     //--------------------------
     $displayData['pageTitle'] = anchor('main/menu/client', 'Clients', 'class="breadcrumb"') . ' | ' . anchor('cpre_post_tests/pptests/overview', ' Client Pre/Post Tests', 'class="breadcrumb"') . ' | ' . anchor('cpre_post_tests/pptest_record/view/' . $lPPTestID, htmlspecialchars($pptest->strTestName), 'class="breadcrumb"') . ' | Questions';
     $displayData['title'] = CS_PROGNAME . ' | Client Pre/Post Tests';
     $displayData['nav'] = $this->mnav_brain_jar->navData();
     $displayData['mainTemplate'] = 'cpre_post_tests/questions_list_view';
     $this->load->vars($displayData);
     $this->load->view('template');
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:54,代码来源:ppquest_view.php

示例10: bidsheetViaPID

 function bidsheetViaPID($lBSID, $lPackageID)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     global $gpdf;
     if (!bTestForURLHack('showAuctions')) {
         return;
     }
     $gpdf = new stdClass();
     $gpdf->bItemLayoutInProcess = false;
     // are we spliting the items across multiple pages?
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lBSID, 'bidsheet ID');
     verifyID($this, $lPackageID, 'package ID');
     //-----------------------------
     // models and helpers
     //-----------------------------
     $this->load->helper('dl_util/pdf');
     $this->load->model('auctions/mbid_sheet_pdf', 'cBSPDF');
     $this->load->model('auctions/mbid_sheets', 'cBidSheets');
     $this->load->model('auctions/mpackages', 'cPackages');
     $this->load->model('auctions/mitems', 'cItems');
     $this->load->model('img_docs/mimage_doc', 'clsImgDoc');
     $this->load->helper('img_docs/image_doc');
     $this->load->helper('img_docs/link_img_docs');
     $this->load->helper('auctions/auction');
     $this->cBidSheets->loadSheetByBSID($lBSID);
     $bs = $gpdf->bs =& $this->cBidSheets->bidSheets[0];
     $this->cPackages->loadPackageByPacID($lPackageID);
     $this->cPackages->loadPackageProfileImage();
     $package = $gpdf->package =& $this->cPackages->packages[0];
     $package->curEstValue = $this->cItems->curEstValueViaPID($lPackageID);
     $this->cItems->loadItemsViaPackageID($lPackageID);
     $gpdf->items =& $this->cItems->items;
     $gpdf->lNumItems = $this->cItems->lNumItems;
     $this->cItems->loadItemProfileImage();
     $pdf = new bsPDF('Portrait', 'pt', $bs->enumPaperType);
     $pdf->SetAutoPageBreak(true, 50);
     $pdf->AliasNbPages();
     $pdf->AddPage();
     $pdf->createBidSheet();
     $pdf->SetFont('Arial', '', 12);
     $lNumExtra = $bs->lNumSignupPages;
     if ($lNumExtra > 0 && $bs->bIncludeSignup) {
         for ($idx = 0; $idx < $lNumExtra; ++$idx) {
             $pdf->AddPage();
             $pdf->addSignUpColumns($gpdf->lTopMargin);
         }
     }
     $pdf->Output('package_' . str_pad($package->lKeyID, 5, '0', STR_PAD_LEFT) . '.pdf', 'I');
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:52,代码来源:bid_sheets.php

示例11: viaLocationID

 function viaLocationID($lLocID, $bShowInactive = false)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lLocID, 'client location ID');
     $this->load->model('reports/mreports', 'clsReports');
     $reportAttributes = array('rptType' => CENUM_REPORTTYPE_PREDEFINED, 'rptName' => CENUM_REPORTNAME_SPONVIALOCID, 'rptDestination' => CENUM_REPORTDEST_SCREEN, 'lStartRec' => 0, 'lRecsPerPage' => 50, 'bShowRecNav' => true, 'viewFile' => 'pre_basic_sponsor_list_view', 'bShowInactive' => $bShowInactive, 'lLocID' => $lLocID);
     $this->clsReports->createReportSessionEntry($reportAttributes);
     $reportID = $this->clsReports->sRpt->reportID;
     redirect('reports/reports/run/' . $reportID);
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:13,代码来源:pre_spon_via_prog.php

示例12: viewDates

 public function viewDates($lDateID)
 {
     //-------------------------------------------------------------------------
     //
     //-------------------------------------------------------------------------
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lDateID, 'event date ID');
     $displayData = array();
     $displayData['lDateID'] = $lDateID = (int) $lDateID;
     //------------------------------------------------
     // libraries / models / utilities
     //------------------------------------------------
     $params = array('enumStyle' => 'terse');
     $this->load->library('generic_rpt', $params);
     $this->load->model('vols/mvol_event_dates', 'clsVolEventDates');
     $this->load->model('vols/mvol_events', 'clsVolEvents');
     $this->load->model('vols/mvol_event_dates_shifts', 'clsShifts');
     $this->load->model('vols/mvol_event_dates_shifts_vols', 'clsSV');
     $this->load->model('vols/mvol_event_hours', 'clsVolHours');
     $this->load->helper('dl_util/web_layout');
     $this->load->helper('dl_util/time_date');
     $this->clsVolEventDates->loadEventDateViaDateID($lDateID);
     $displayData['edate'] = $edate =& $this->clsVolEventDates->dates[0];
     $displayData['lEventID'] = $lEventID = $edate->lVolEventID;
     $this->clsVolEvents->loadEventsViaEID($lEventID);
     $displayData['contextSummary'] = $this->clsVolEvents->volEventHTMLSummary(0);
     $displayData['lNumEventDates'] = $lNumEventDates = $this->clsVolEventDates->lNumDatesViaEventID($lEventID);
     $this->clsShifts->loadShiftsViaEventDateID($lDateID);
     $displayData['lNumShifts'] = $lNumShifts = $this->clsShifts->lNumShifts;
     $displayData['lNumVolsTot'] = 0;
     if ($lNumShifts > 0) {
         foreach ($this->clsShifts->shifts as $shift) {
             $lShiftID = $shift->lKeyID;
             $this->clsSV->loadVolsViaShiftID($lShiftID);
             $shift->lNumVols = $this->clsSV->lNumVols;
             $displayData['lNumVolsTot'] += $shift->lNumVols;
             $shift->vols = $this->clsSV->vols;
             $shift->hoursLogged = $this->clsVolHours->dTotHoursWorkedViaShiftID($lShiftID);
         }
     }
     $displayData['shifts'] =& $this->clsShifts->shifts;
     //--------------------------
     // breadcrumbs
     //--------------------------
     $displayData['pageTitle'] = anchor('main/menu/vols', 'Volunteers', 'class="breadcrumb"') . ' | ' . anchor('volunteers/events_schedule/viewEventsList', 'Event List', 'class="breadcrumb"') . ' | ' . anchor('volunteers/events_record/viewEvent/' . $lEventID, 'Event', 'class="breadcrumb"') . ' | Event Date';
     $displayData['title'] = CS_PROGNAME . ' | Volunteers';
     $displayData['nav'] = $this->mnav_brain_jar->navData();
     $displayData['mainTemplate'] = 'vols/vol_event_date_record_view';
     $this->load->vars($displayData);
     $this->load->view('template');
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:51,代码来源:event_dates_view.php

示例13: viewSponsorFinancials

 function viewSponsorFinancials($lSponID)
 {
     //------------------------------------------------------------------------------
     //
     //------------------------------------------------------------------------------
     if (!bTestForURLHack('showSponsorFinancials')) {
         return;
     }
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lSponID, 'sponsor ID');
     $displayData = array();
     $displayData['lSponID'] = $lSponID = (int) $lSponID;
     //------------------------------------------------
     // models, libraries and utilities
     //------------------------------------------------
     $params = array('enumStyle' => 'terse', 'clsRpt');
     $this->load->library('generic_rpt', $params);
     $clsRpt = new generic_rpt($params);
     $this->load->library('util/dl_date_time', '', 'clsDateTime');
     $this->load->model('sponsorship/msponsorship', 'clsSpon');
     $this->load->model('sponsorship/msponsor_charge_pay', 'clsSCP');
     $this->load->model('admin/madmin_aco', 'clsACO');
     $this->load->helper('dl_util/web_layout');
     $this->load->helper('dl_util/record_view');
     $this->load->helper('img_docs/link_img_docs');
     $this->load->helper('dl_util/time_date');
     $this->clsSpon->sponsorInfoViaID($lSponID);
     $displayData['lSponFID'] = $this->clsSpon->sponInfo[0]->lForeignID;
     $displayData['contextSummary'] = $this->clsSpon->sponsorshipHTMLSummary();
     //--------------------------
     // load financial history
     //--------------------------
     $this->clsSCP->bUseDateRange = false;
     $this->clsSCP->lSponID = $lSponID;
     $this->clsSCP->cumulativeChargeHistory($lSponID);
     $displayData['lNumCharges'] = $this->clsSCP->lNumCharges;
     $displayData['charges'] =& $this->clsSCP->charges;
     $this->clsSCP->sponsorPaymentHistory(true);
     $displayData['lNumPayments'] = $this->clsSCP->lPayTot;
     $displayData['payHistory'] =& $this->clsSCP->payHistory;
     $displayData['strFinancialSum'] = strSponsorFinancialSummary($clsRpt, $this->clsSCP, $lSponID, '70pt');
     //--------------------------
     // breadcrumbs
     //--------------------------
     $displayData['pageTitle'] = anchor('main/menu/sponsorship', 'Sponsorship', 'class="breadcrumb"') . ' | ' . anchor('sponsors/view_spon_rec/viewViaSponID/' . $lSponID, 'Sponsorship Record', 'class="breadcrumb"') . ' | Financials';
     $displayData['title'] = CS_PROGNAME . ' | Sponsorship';
     $displayData['nav'] = $this->mnav_brain_jar->navData();
     $displayData['mainTemplate'] = 'sponsorship/financials_view';
     $this->load->vars($displayData);
     $this->load->view('template');
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:51,代码来源:financials.php

示例14: attribList

 function attribList($enumContext, $lAttribID)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     $this->load->helper('dl_util/verify_id');
     if ($lAttribID . '' != '0') {
         verifyID($this, $lAttribID, 'attributed to ID');
     }
     $this->load->model('reports/mreports', 'clsReports');
     $reportAttributes = array('rptType' => CENUM_REPORTTYPE_PREDEFINED, 'rptName' => CENUM_REPORTNAME_ATTRIB, 'rptDestination' => CENUM_REPORTDEST_SCREEN, 'lStartRec' => 0, 'lRecsPerPage' => 50, 'bShowRecNav' => true, 'viewFile' => 'pre_generic_rpt_view', 'enumContext' => $enumContext, 'lAttribID' => $lAttribID);
     $this->clsReports->createReportSessionEntry($reportAttributes);
     $reportID = $this->clsReports->sRpt->reportID;
     redirect('reports/reports/run/' . $reportID);
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:15,代码来源:pre_attrib.php

示例15: moveSort

 public function moveSort($lReportID, $lFieldID, $enumMove)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     $this->load->helper('dl_util/verify_id');
     verifyID($this, $lReportID, 'custom report ID');
     $lReportID = (int) $lReportID;
     $lFieldID = (int) $lFieldID;
     //------------------------------------------------
     // libraries and utilities
     //------------------------------------------------
     $this->load->helper('reports/search');
     $this->load->helper('dl_util/context');
     $this->load->helper('reports/creport_util');
     $this->load->helper('creports/creport_field');
     $this->load->model('admin/madmin_aco');
     $this->load->model('creports/mcreports', 'clsCReports');
     //------------------------------------------------
     // load report
     //------------------------------------------------
     $displayData['cRptTypes'] = loadCReportTypeArray();
     $this->clsCReports->loadReportViaID($lReportID, true);
     $report =& $this->clsCReports->reports[0];
     if (!$report->bUserHasWriteAccess) {
         vid_bTestFail($this, false, 'Custom Report', $lReportID);
         return;
     }
     $this->load->library('util/up_down_top_bottom', '', 'upDown');
     $this->upDown->enumMove = $enumMove;
     $this->upDown->enumRecType = 'creport fields';
     $this->upDown->strUfieldDDL = 'creport_fields';
     $this->upDown->strUfieldDDLKey = 'crf_lKeyID';
     $this->upDown->strUfieldDDLSort = 'crf_lSortIDX';
     $this->upDown->strUfieldDDLQual1 = 'crf_lReportID';
     $this->upDown->strUfieldDDLRetired = '';
     $this->upDown->lUfieldDDLQual1Val = $lReportID;
     $this->upDown->lKeyID = $lFieldID;
     $this->upDown->moveRecs();
     $this->session->set_flashdata('msg', 'The display fields were re-ordered');
     redirect('creports/display_order/addEditDisplayTermOrder/' . $lReportID);
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:42,代码来源:display_order.php


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