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


PHP CRM_Report_Form::preProcess方法代碼示例

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


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

示例1: preProcess

 function preProcess()
 {
     parent::preProcess();
     //check for permission to edit contributions
     if (!CRM_Core_Permission::check('access CiviContribute')) {
         CRM_Core_Error::fatal(ts('You do not have permission to access this page', array('domain' => 'org.civicrm.cdntaxreceipts')));
     }
 }
開發者ID:carriercomm,項目名稱:CDNTaxReceipts,代碼行數:8,代碼來源:ReceiptsIssued.php

示例2: preProcess

 function preProcess()
 {
     parent::preProcess();
     if (!$this->_id) {
         if (CRM_Utils_Array::value('title', $_POST)) {
             $this->assign('reportTitle', $_POST['title']);
         } else {
             if (CRM_Utils_Array::value('weekday_value', $_POST)) {
                 $this->assign('reportTitle', "EXTENDED CARE FOR " . strtoupper($_POST['weekday_value']));
             }
         }
     }
 }
開發者ID:pzingg,項目名稱:sfschool,代碼行數:13,代碼來源:Attendance.php

示例3: preProcess

 function preProcess()
 {
     $this->assign('reportTitle', ts('Membership Summary Report'));
     parent::preProcess();
 }
開發者ID:archcidburnziso,項目名稱:civicrm-core,代碼行數:5,代碼來源:Summary.php

示例4: preProcess

 public function preProcess()
 {
     $this->assign('reportTitle', ts('Membership Detail Report'));
     parent::preProcess();
 }
開發者ID:utkarshsharma,項目名稱:civicrm-core,代碼行數:5,代碼來源:Detail.php

示例5: preProcess

 function preProcess()
 {
     $this->assign('chartSupported', true);
     parent::preProcess();
 }
開發者ID:hampelm,項目名稱:Ginsberg-CiviDemo,代碼行數:5,代碼來源:Opened.php

示例6: preProcess

 function preProcess()
 {
     $this->_add2groupSupported = false;
     parent::preProcess();
 }
開發者ID:pzingg,項目名稱:sfschool,代碼行數:5,代碼來源:ParentTeacherConference.php

示例7: preProcess

 public function preProcess()
 {
     $this->addFormRule(array('CRM_Recurringcontributionreports_Form_Report_RecurringContribution', 'formRule'), $this);
     parent::preProcess();
 }
開發者ID:veda-consulting,項目名稱:caat-4.7-recurring,代碼行數:5,代碼來源:RecurSummary.php

示例8: preProcess

 public function preProcess()
 {
     parent::preProcess();
 }
開發者ID:nganivet,項目名稱:civicrm-core,代碼行數:4,代碼來源:Repeat.php

示例9: preProcess

 public function preProcess()
 {
     $this->assign('chartSupported', TRUE);
     parent::preProcess();
 }
開發者ID:nielosz,項目名稱:civicrm-core,代碼行數:5,代碼來源:Bounce.php

示例10: preProcess

 /**
  * Overridden parent method for initial processing
  */
 function preProcess()
 {
     $segmentSetting = civicrm_api3('SegmentSetting', 'Getsingle', array());
     $this->setTitle(ts($segmentSetting['parent_label'] . ' Report'));
     parent::preProcess();
 }
開發者ID:CiviCooP,項目名稱:org.civicoop.contactsegment,代碼行數:9,代碼來源:ContactSegment.php

示例11: preProcess

 function preProcess()
 {
     $this->_csvSupported = FALSE;
     parent::preProcess();
 }
開發者ID:peteainsworth,項目名稱:civicrm-4.2.9-drupal,代碼行數:5,代碼來源:Income.php

示例12: preProcess

 function preProcess()
 {
     $this->_csvSupported = false;
     parent::preProcess();
 }
開發者ID:bhirsch,項目名稱:voipdev,代碼行數:5,代碼來源:Detail.php

示例13: preProcess

 /**
  * Overridden parent method before any form processing
  */
 function preProcess()
 {
     $this->assign('reportTitle', ts('Opportunities Report'));
     parent::preProcess();
 }
開發者ID:PUMNL,項目名稱:nl.pum.casereports,代碼行數:8,代碼來源:Opportunities.php


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