Beispiel #1
0
	/**
	* Route this subscription to email providers based on rules configured for the store
	*
	* @param bool $asynchronous
	* @return mixed An array of Interspire_EmailIntegration_AddSubscriberResult objects for synchronous calls, otherwise null
	*/
	public function routeSubscription($asynchronous = true)
	{
		$event = $this->getSubscriptionEventId();
		if (!$event) {
			// this subscription type does not support routing via subscription rules
			return;
		}

		return ISC_EMAILINTEGRATION::routeSubscription($event, $this, $asynchronous);
	}