Created
August 24, 2016 13:56
-
-
Save gebi84/abbf0c447d2e109e4d08d66c4a46f909 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('TL_SCRIPT', 'index.php'); | |
require_once '../system/initialize.php'; | |
/** | |
* @var $objNotification NotificationCenter\Model\Notification | |
*/ | |
$objNotification = \NotificationCenter\Model\Notification::findOneById(4); | |
$arrTokens = array(); | |
$order = \Isotope\Model\ProductCollection\Order::findOneById(1115); | |
$arrTokens = $order->getNotificationTokens($objNotification->id); | |
if (null !== $objNotification) { | |
$objNotification->send($arrTokens, 'de'); // Language is optional | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment