<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
* the contact and calls the appropriate type of page to view.
*
* @return void
- *
*/
public function preProcess() {
$this->_unscheduled = $this->_archived = $archiveLinks = FALSE;
- $this->_mailingId = CRM_Utils_Request::retrieve('mid', 'Positive', $this);
- $this->_sms = CRM_Utils_Request::retrieve('sms', 'Positive', $this);
+ $this->_mailingId = CRM_Utils_Request::retrieve('mid', 'Positive', $this);
+ $this->_sms = CRM_Utils_Request::retrieve('sms', 'Positive', $this);
$this->assign('sms', $this->_sms);
// check that the user has permission to access mailing id
CRM_Mailing_BAO_Mailing::checkPermission($this->_mailingId);
CRM_Mailing_BAO_MailingJob::runJobs_post();
}
- $this->_sortByCharacter =
- CRM_Utils_Request::retrieve('sortByCharacter', 'String', $this);
-
+ $this->_sortByCharacter
+ = CRM_Utils_Request::retrieve('sortByCharacter', 'String', $this);
// CRM-11920 all should set sortByCharacter to null, not empty string
if (strtolower($this->_sortByCharacter) == 'all' || !empty($_POST)) {
- $this->_sortByCharacter = null;
- $this->set('sortByCharacter', null);
+ $this->_sortByCharacter = NULL;
+ $this->set('sortByCharacter', NULL);
}
if (CRM_Utils_Array::value(3, $newArgs) == 'unscheduled') {
CRM_Core_Selector_Controller::TEMPLATE
);
-
$controller->setEmbedded(TRUE);
$controller->run();
}
public function search() {
- if ($this->_action &
- (CRM_Core_Action::ADD |
+ if ($this->_action & (CRM_Core_Action::ADD |
CRM_Core_Action::UPDATE
)
) {