/**
* Class constructor
*/
- function __construct() {
+ public function __construct() {
parent::__construct();
}
* @param null $mode
*
* @return void
- * @access public
* @static
*/
public static function runJobs($testParams = NULL, $mode = NULL) {
/**
* Send the mailing
*
- * @param object $mailer A Mail object to send the messages
+ * @param object $mailer
+ * A Mail object to send the messages.
*
* @param array $testParams
*
* @return void
- * @access public
*/
public function deliver(&$mailer, $testParams = NULL) {
$mailing = new CRM_Mailing_BAO_Mailing();
/**
* Cancel a mailing
*
- * @param int $mailingId the id of the mailing to be canceled
+ * @param int $mailingId
+ * The id of the mailing to be canceled.
* @static
*/
public static function cancel($mailingId) {
/**
* Return a translated status enum string
*
- * @param string $status The status enum
+ * @param string $status
+ * The status enum.
*
* @return string The translated version
- * @access public
* @static
*/
public static function status($status) {
* to only process jobs that are approved.
*
* @return string For use in a WHERE clause
- * @access public
* @static
*/
public static function workflowClause() {
return $result;
}
}
-