本文整理汇总了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();
}