forked from objectivehtml/Postmaster-for-Craft-CMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.php
36 lines (31 loc) · 1.52 KB
/
bootstrap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
namespace Craft;
craft()->postmaster->registerServices(array(
'Craft\Plugins\Postmaster\Services\CraftService',
'Craft\Plugins\Postmaster\Services\MandrillService',
'Craft\Plugins\Postmaster\Services\MailchimpService',
'Craft\Plugins\Postmaster\Services\CampaignMonitorService',
'Craft\Plugins\Postmaster\Services\TwilioService',
'Craft\Plugins\Postmaster\Services\HttpRequestService',
'Craft\Plugins\Postmaster\Services\TestService',
));
craft()->postmaster->registerParcelTypes(array(
'Craft\Plugins\Postmaster\ParcelTypes\DefaultParcelType',
'Craft\Plugins\Postmaster\ParcelTypes\UserEmailParcelType',
'Craft\Plugins\Postmaster\ParcelTypes\SystemEmailParcelType',
'Craft\Plugins\Postmaster\ParcelTypes\EmailFormParcelType',
// 'Craft\Plugins\Postmaster\ParcelTypes\TestParcelType',
));
craft()->postmaster->registerNotificationTypes(array(
'Craft\Plugins\Postmaster\NotificationTypes\DefaultNotificationType',
'Craft\Plugins\Postmaster\NotificationTypes\AfterUserInactivityNotificationType',
'Craft\Plugins\Postmaster\NotificationTypes\ExpiredEntriesNotificationType'
));
craft()->postmaster->registerParcelSchedules(array(
'Craft\Plugins\Postmaster\ParcelSchedules\DefaultParcelSchedule',
'Craft\Plugins\Postmaster\ParcelSchedules\SendDateParcelSchedule',
));
craft()->postmaster->registerNotificationSchedules(array(
'Craft\Plugins\Postmaster\NotificationSchedules\DefaultNotificationSchedule',
'Craft\Plugins\Postmaster\NotificationSchedules\AnyTimeNotificationSchedule',
));