*
* @params array $params contains form values
*
+ * @param $testParams
+ *
* @return void
* @access public
*/
/**
* static wrapper for getting verp and urls
*
- * @param int $job_id ID of the Job associated with this message
- * @param int $event_queue_id ID of the EventQueue
- * @param string $hash Hash of the EventQueue
- * @param string $email Destination address
+ * @param int $job_id ID of the Job associated with this message
+ * @param int $event_queue_id ID of the EventQueue
+ * @param string $hash Hash of the EventQueue
+ * @param string $email Destination address
*
- * @return (reference) array array ref that hold array refs to the verp info and urls
+ * @return array (reference) array array ref that hold array refs to the verp info and urls
*/
static function getVerpAndUrls($job_id, $event_queue_id, $hash, $email) {
// create a skeleton object and set its properties that are required by getVerpAndUrlsAndHeaders()
/**
* get verp, urls and headers
*
- * @param int $job_id ID of the Job associated with this message
- * @param int $event_queue_id ID of the EventQueue
- * @param string $hash Hash of the EventQueue
- * @param string $email Destination address
+ * @param int $job_id ID of the Job associated with this message
+ * @param int $event_queue_id ID of the EventQueue
+ * @param string $hash Hash of the EventQueue
+ * @param string $email Destination address
*
- * @return (reference) array array ref that hold array refs to the verp info, urls, and headers
- * @access private
+ * @param bool $isForward
+ *
+ * @return array (reference) array array ref that hold array refs to the verp info, urls, and headers@access private
*/
private function getVerpAndUrlsAndHeaders($job_id, $event_queue_id, $hash, $email, $isForward = FALSE) {
$config = CRM_Core_Config::singleton();
/**
* Compose a message
*
- * @param int $job_id ID of the Job associated with this message
- * @param int $event_queue_id ID of the EventQueue
- * @param string $hash Hash of the EventQueue
- * @param string $contactId ID of the Contact
- * @param string $email Destination address
- * @param string $recipient To: of the recipient
- * @param boolean $test Is this mailing a test?
- * @param boolean $isForward Is this mailing compose for forward?
- * @param string $fromEmail email address of who is forwardinf it.
+ * @param int $job_id ID of the Job associated with this message
+ * @param int $event_queue_id ID of the EventQueue
+ * @param string $hash Hash of the EventQueue
+ * @param string $contactId ID of the Contact
+ * @param string $email Destination address
+ * @param string $recipient To: of the recipient
+ * @param boolean $test Is this mailing a test?
+ * @param $contactDetails
+ * @param $attachments
+ * @param boolean $isForward Is this mailing compose for forward?
+ * @param string $fromEmail email address of who is forwardinf it.
+ *
+ * @param null $replyToEmail
*
* @return object The mail object
* @access public
'forward_replies' => FALSE,
'open_tracking' => TRUE,
'url_tracking' => TRUE,
- 'visibility' => 'User and User Admin Only',
+ 'visibility' => 'Public Pages',
'replyto_email' => $domain_email,
'header_id' => CRM_Mailing_PseudoConstant::defaultComponent('header_id', ''),
'footer_id' => CRM_Mailing_PseudoConstant::defaultComponent('footer_id', ''),
* Generate a report. Fetch event count information, mailing data, and job
* status.
*
- * @param int $id The mailing id to report
+ * @param int $id The mailing id to report
* @param boolean $skipDetails whether return all detailed report
*
+ * @param bool $isSMS
+ *
* @return array Associative array of reporting data
* @access public
* @static
/**
* Get the rows for a browse operation
*
- * @param int $offset The row number to start from
- * @param int $rowCount The nmber of rows to return
- * @param string $sort The sql string that describes the sort order
+ * @param int $offset The row number to start from
+ * @param int $rowCount The nmber of rows to return
+ * @param string $sort The sql string that describes the sort order
+ *
+ * @param null $additionalClause
+ * @param null $additionalParams
*
* @return array The rows
* @access public
*
* @param int $id
*
+ * @return string
* @static
* @access public
*/
*
* @param $form reference of this
*
- * @return $report array content/component.
- * @access public
+ * @param bool $isSMS
+ *
+ * @return array $report array content/component.@access public
*/
static function getMailingContent(&$report, &$form, $isSMS = FALSE) {
$htmlHeader = $textHeader = NULL;