本文整理汇总了PHP中CRM_Core_Controller_Simple::setParent方法的典型用法代码示例。如果您正苦于以下问题:PHP CRM_Core_Controller_Simple::setParent方法的具体用法?PHP CRM_Core_Controller_Simple::setParent怎么用?PHP CRM_Core_Controller_Simple::setParent使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CRM_Core_Controller_Simple
的用法示例。
在下文中一共展示了CRM_Core_Controller_Simple::setParent方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: search
function search()
{
if ($this->_action & CRM_Core_Action::DELETE) {
return;
}
$form = new CRM_Core_Controller_Simple('CRM_Contribute_Form_PCP_PCP', ts('Search Campaign Pages'), CRM_Core_Action::ADD);
$form->setEmbedded(true);
$form->setParent($this);
$form->process();
$form->run();
}
示例2: search
function search()
{
if ($this->_action & (CRM_Core_Action::ADD | CRM_Core_Action::UPDATE)) {
return;
}
$form = new CRM_Core_Controller_Simple('CRM_Mailing_Form_Search', ts('Search Mailings'), CRM_Core_Action::ADD);
$form->setEmbedded(true);
$form->setParent($this);
$form->process();
$form->run();
}
示例3: search
public function search()
{
if (isset($this->_action) & (CRM_Core_Action::ADD | CRM_Core_Action::UPDATE | CRM_Core_Action::DELETE)) {
return;
}
$form = new CRM_Core_Controller_Simple('CRM_Contribute_Form_SearchContribution', ts('Search Contribution'), CRM_Core_Action::ADD);
$form->setEmbedded(TRUE);
$form->setParent($this);
$form->process();
$form->run();
}
示例4: search
function search()
{
if (isset($this->_action) & (CRM_Core_Action::ADD | CRM_Core_Action::UPDATE | CRM_Core_Action::DELETE)) {
return;
}
$form = new CRM_Core_Controller_Simple('CRM_Event_Form_SearchEvent', ts('Search Events'), CRM_Core_Action::ADD);
$form->setEmbedded(true);
$form->setParent($this);
$form->process();
$form->run();
}
示例5: search
function search()
{
$form = new CRM_Core_Controller_Simple('CRM_Auction_Form_SearchAuction', ts('Search Items'), CRM_Core_Action::ADD);
$form->setEmbedded(TRUE);
$form->setParent($this);
$form->process();
$form->run();
}
示例6: search
function search()
{
if ($this->_action & (CRM_Core_Action::ADD | CRM_Core_Action::UPDATE | CRM_Core_Action::DELETE)) {
return;
}
$form = new CRM_Core_Controller_Simple('CRM_Batch_Form_Search', ts('Search Batches'), CRM_Core_Action::ADD);
$form->setEmbedded(TRUE);
$form->setParent($this);
$form->process();
$form->run();
}