* Class constructor. This caches the real user framework class locally,
* so we can use it for authentication and validation.
*
- * @param string $uf The userframework class
+ * @internal param string $uf The userframework class
*/
public function __construct() {
// any external program which call SoapServer is responsible for
/**
* Verify a SOAP key
*
- * @param string $key The soap key generated by authenticate()
+ * @param string $key The soap key generated by authenticate()
*
+ * @throws SoapFault
* @return void
* @access public
*/
/**
* Authentication wrapper to the UF Class
*
- * @param string $name Login name
- * @param string $pass Password
+ * @param string $name Login name
+ * @param string $pass Password
*
+ * @param bool $loadCMSBootstrap
+ *
+ * @throws SoapFault
* @return string The SOAP Client key
* @access public
* @static
return civicrm_api('Mailing', 'event_bounce', $params);
}
+ /**
+ * @param $key
+ * @param $job
+ * @param $queue
+ * @param $hash
+ *
+ * @return array|int
+ * @throws SoapFault
+ */
public function mailer_event_unsubscribe($key, $job, $queue, $hash) {
$this->verify($key);
$params = array(
return civicrm_api('MailingGroup', 'event_unsubscribe', $params);
}
+ /**
+ * @param $key
+ * @param $job
+ * @param $queue
+ * @param $hash
+ *
+ * @return array|int
+ * @throws SoapFault
+ */
public function mailer_event_domain_unsubscribe($key, $job, $queue, $hash) {
$this->verify($key);
$params = array(
return civicrm_api('MailingGroup', 'event_domain_unsubscribe', $params);
}
+ /**
+ * @param $key
+ * @param $job
+ * @param $queue
+ * @param $hash
+ *
+ * @return array|int
+ * @throws SoapFault
+ */
public function mailer_event_resubscribe($key, $job, $queue, $hash) {
$this->verify($key);
$params = array(
return civicrm_api('MailingGroup', 'event_resubscribe', $params);
}
+ /**
+ * @param $key
+ * @param $email
+ * @param $domain
+ * @param $group
+ *
+ * @return array|int
+ * @throws SoapFault
+ */
public function mailer_event_subscribe($key, $email, $domain, $group) {
$this->verify($key);
$params = array(
return civicrm_api('MailingGroup', 'event_subscribe', $params);
}
+ /**
+ * @param $key
+ * @param $contact
+ * @param $subscribe
+ * @param $hash
+ *
+ * @return array|int
+ * @throws SoapFault
+ */
public function mailer_event_confirm($key, $contact, $subscribe, $hash) {
$this->verify($key);
$params = array(
return civicrm_api('Mailing', 'event_confirm', $params);
}
+ /**
+ * @param $key
+ * @param $job
+ * @param $queue
+ * @param $hash
+ * @param $bodyTxt
+ * @param $rt
+ * @param null $bodyHTML
+ * @param null $fullEmail
+ *
+ * @return array|int
+ * @throws SoapFault
+ */
public function mailer_event_reply($key, $job, $queue, $hash, $bodyTxt, $rt, $bodyHTML = NULL, $fullEmail = NULL) {
$this->verify($key);
$params = array(
return civicrm_api('Mailing', 'event_reply', $params);
}
+ /**
+ * @param $key
+ * @param $job
+ * @param $queue
+ * @param $hash
+ * @param $email
+ *
+ * @return array|int
+ * @throws SoapFault
+ */
public function mailer_event_forward($key, $job, $queue, $hash, $email) {
$this->verify($key);
$params = array(
return civicrm_api('Mailing', 'event_forward', $params);
}
+ /**
+ * @param $key
+ * @param $params
+ *
+ * @return array|int
+ * @throws SoapFault
+ */
public function get_contact($key, $params) {
$this->verify($key);
$params['version'] = 3;