本文整理匯總了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')));
}
}
示例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']));
}
}
}
}
示例3: preProcess
function preProcess()
{
$this->assign('reportTitle', ts('Membership Summary Report'));
parent::preProcess();
}
示例4: preProcess
public function preProcess()
{
$this->assign('reportTitle', ts('Membership Detail Report'));
parent::preProcess();
}
示例5: preProcess
function preProcess()
{
$this->assign('chartSupported', true);
parent::preProcess();
}
示例6: preProcess
function preProcess()
{
$this->_add2groupSupported = false;
parent::preProcess();
}
示例7: preProcess
public function preProcess()
{
$this->addFormRule(array('CRM_Recurringcontributionreports_Form_Report_RecurringContribution', 'formRule'), $this);
parent::preProcess();
}
示例8: preProcess
public function preProcess()
{
parent::preProcess();
}
示例9: preProcess
public function preProcess()
{
$this->assign('chartSupported', TRUE);
parent::preProcess();
}
示例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();
}
示例11: preProcess
function preProcess()
{
$this->_csvSupported = FALSE;
parent::preProcess();
}
示例12: preProcess
function preProcess()
{
$this->_csvSupported = false;
parent::preProcess();
}
示例13: preProcess
/**
* Overridden parent method before any form processing
*/
function preProcess()
{
$this->assign('reportTitle', ts('Opportunities Report'));
parent::preProcess();
}