<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
* @param
*
* @return void
- * @access public
*/
class CRM_Mailing_Form_Browse extends CRM_Core_Form {
* the contact and calls the appropriate type of page to view.
*
* @return void
- * @access public
- *
*/
- function preProcess() {
+ public function preProcess() {
$this->_mailingId = CRM_Utils_Request::retrieve('mid', 'Positive', $this);
$this->_action = CRM_Utils_Request::retrieve('action', 'String', $this);
CRM_Core_Error::fatal(ts('You do not have permission to access this page.'));
}
- $mailing = new CRM_Mailing_BAO_Mailing();
+ $mailing = new CRM_Mailing_BAO_Mailing();
$mailing->id = $this->_mailingId;
- $subject = '';
+ $subject = '';
if ($mailing->find(TRUE)) {
$subject = $mailing->subject;
}
* Build the form object
*
* @return void
- * @access public
*/
public function buildQuickForm() {
}
/**
- * @access public
*
* @return void
*/
}
}
}
-