doc
1 year ago
lib
1 year ago
tests
1 year ago
.coveralls.yml
1 year ago
.git
1 year ago
.gitignore
1 year ago
.travis.yml
1 year ago
LICENSE.txt
1 year ago
README.md
1 year ago
build.php
1 year ago
composer.json
1 year ago
init.php
1 year ago
overview.md
1 year ago
phpunit.no_autoload.xml
1 year ago
phpunit.xml
1 year ago
release.php
1 year ago
test
1 year ago
init.php
104 lines
| 1 | <?php |
| 2 | |
| 3 | // WonderPush\Util |
| 4 | require(dirname(__FILE__) . '/lib/Util/JsonSerializable.php'); |
| 5 | require(dirname(__FILE__) . '/lib/Util/Logger.php'); |
| 6 | require(dirname(__FILE__) . '/lib/Util/DefaultLogger.php'); |
| 7 | require(dirname(__FILE__) . '/lib/Util/ArrayUtil.php'); |
| 8 | require(dirname(__FILE__) . '/lib/Util/StringUtil.php'); |
| 9 | require(dirname(__FILE__) . '/lib/Util/TimeUnit.php'); |
| 10 | require(dirname(__FILE__) . '/lib/Util/TimeUtil.php'); |
| 11 | require(dirname(__FILE__) . '/lib/Util/TimeValue.php'); |
| 12 | require(dirname(__FILE__) . '/lib/Util/UrlUtil.php'); |
| 13 | |
| 14 | // WonderPush |
| 15 | require(dirname(__FILE__) . '/lib/WonderPush.php'); |
| 16 | |
| 17 | // WonderPush\Obj |
| 18 | require(dirname(__FILE__) . '/lib/Obj/BaseObject.php'); |
| 19 | require(dirname(__FILE__) . '/lib/Obj/SuccessResponse.php'); |
| 20 | require(dirname(__FILE__) . '/lib/Obj/CampaignSuccessResponse.php'); |
| 21 | require(dirname(__FILE__) . '/lib/Obj/DeliveriesCreateResponse.php'); |
| 22 | require(dirname(__FILE__) . '/lib/Obj/Pagination.php'); |
| 23 | require(dirname(__FILE__) . '/lib/Obj/NullObject.php'); |
| 24 | require(dirname(__FILE__) . '/lib/Obj/Application.php'); |
| 25 | require(dirname(__FILE__) . '/lib/Obj/Segment.php'); |
| 26 | require(dirname(__FILE__) . '/lib/Obj/GeoLocation.php'); |
| 27 | require(dirname(__FILE__) . '/lib/Obj/User.php'); |
| 28 | require(dirname(__FILE__) . '/lib/Obj/Collection.php'); |
| 29 | require(dirname(__FILE__) . '/lib/Obj/CampaignCollection.php'); |
| 30 | require(dirname(__FILE__) . '/lib/Obj/ApplicationCollection.php'); |
| 31 | require(dirname(__FILE__) . '/lib/Obj/SegmentCollection.php'); |
| 32 | require(dirname(__FILE__) . '/lib/Obj/Installation.php'); |
| 33 | require(dirname(__FILE__) . '/lib/Obj/InstallationCollection.php'); |
| 34 | require(dirname(__FILE__) . '/lib/Obj/InstallationApplicationApple.php'); |
| 35 | require(dirname(__FILE__) . '/lib/Obj/InstallationApplication.php'); |
| 36 | require(dirname(__FILE__) . '/lib/Obj/InstallationDeviceCapabilities.php'); |
| 37 | require(dirname(__FILE__) . '/lib/Obj/InstallationDeviceConfiguration.php'); |
| 38 | require(dirname(__FILE__) . '/lib/Obj/InstallationDevice.php'); |
| 39 | require(dirname(__FILE__) . '/lib/Obj/InstallationPreferences.php'); |
| 40 | require(dirname(__FILE__) . '/lib/Obj/InstallationPushToken.php'); |
| 41 | require(dirname(__FILE__) . '/lib/Obj/Event.php'); |
| 42 | require(dirname(__FILE__) . '/lib/Obj/FrequentFieldValues.php'); |
| 43 | require(dirname(__FILE__) . '/lib/Obj/NotificationButton.php'); |
| 44 | require(dirname(__FILE__) . '/lib/Obj/NotificationButtonAction.php'); |
| 45 | require(dirname(__FILE__) . '/lib/Obj/NotificationButtonActionEvent.php'); |
| 46 | require(dirname(__FILE__) . '/lib/Obj/Notification.php'); |
| 47 | require(dirname(__FILE__) . '/lib/Obj/NotificationAlert.php'); |
| 48 | require(dirname(__FILE__) . '/lib/Obj/NotificationAlertAndroid.php'); |
| 49 | require(dirname(__FILE__) . '/lib/Obj/NotificationAlertAndroidButton.php'); |
| 50 | require(dirname(__FILE__) . '/lib/Obj/NotificationAlertIos.php'); |
| 51 | require(dirname(__FILE__) . '/lib/Obj/NotificationAlertIosAttachment.php'); |
| 52 | require(dirname(__FILE__) . '/lib/Obj/NotificationAlertIosForeground.php'); |
| 53 | require(dirname(__FILE__) . '/lib/Obj/NotificationAlertWeb.php'); |
| 54 | require(dirname(__FILE__) . '/lib/Obj/NotificationAlertWebButton.php'); |
| 55 | require(dirname(__FILE__) . '/lib/Obj/NotificationInApp.php'); |
| 56 | require(dirname(__FILE__) . '/lib/Obj/NotificationInAppButton.php'); |
| 57 | require(dirname(__FILE__) . '/lib/Obj/NotificationInAppMap.php'); |
| 58 | require(dirname(__FILE__) . '/lib/Obj/NotificationInAppMapPlace.php'); |
| 59 | require(dirname(__FILE__) . '/lib/Obj/NotificationPush.php'); |
| 60 | require(dirname(__FILE__) . '/lib/Obj/NotificationPushAndroid.php'); |
| 61 | require(dirname(__FILE__) . '/lib/Obj/NotificationPushIos.php'); |
| 62 | require(dirname(__FILE__) . '/lib/Obj/NotificationPushWeb.php'); |
| 63 | require(dirname(__FILE__) . '/lib/Obj/Campaign.php'); |
| 64 | require(dirname(__FILE__) . '/lib/Obj/CampaignSchedule.php'); |
| 65 | require(dirname(__FILE__) . '/lib/Obj/CampaignSchedulePressure.php'); |
| 66 | require(dirname(__FILE__) . '/lib/Obj/CampaignScheduleUrlCriterion.php'); |
| 67 | require(dirname(__FILE__) . '/lib/Obj/CampaignStats.php'); |
| 68 | require(dirname(__FILE__) . '/lib/Obj/CampaignUrlFilters.php'); |
| 69 | require(dirname(__FILE__) . '/lib/Obj/CampaignCapping.php'); |
| 70 | |
| 71 | require(dirname(__FILE__) . '/lib/Obj/WebSdkInitOptions.php'); |
| 72 | |
| 73 | // WonderPush\Params |
| 74 | require(dirname(__FILE__) . '/lib/Params/CollectionParams.php'); |
| 75 | require(dirname(__FILE__) . '/lib/Params/DeliveriesCreateParams.php'); |
| 76 | require(dirname(__FILE__) . '/lib/Params/FrequentFieldValuesParams.php'); |
| 77 | require(dirname(__FILE__) . '/lib/Params/AllInstallationsParams.php'); |
| 78 | require(dirname(__FILE__) . '/lib/Params/PatchInstallationParams.php'); |
| 79 | require(dirname(__FILE__) . '/lib/Params/TrackEventParams.php'); |
| 80 | require(dirname(__FILE__) . '/lib/Params/PatchCampaignParams.php'); |
| 81 | require(dirname(__FILE__) . '/lib/Params/CreateCampaignParams.php'); |
| 82 | |
| 83 | // WonderPush\Net |
| 84 | require(dirname(__FILE__) . '/lib/Net/Request.php'); |
| 85 | require(dirname(__FILE__) . '/lib/Net/Response.php'); |
| 86 | require(dirname(__FILE__) . '/lib/Net/HttpClientInterface.php'); |
| 87 | require(dirname(__FILE__) . '/lib/Net/CurlHttpClient.php'); |
| 88 | |
| 89 | // WonderPush\Errors |
| 90 | require(dirname(__FILE__) . '/lib/Errors/Base.php'); |
| 91 | require(dirname(__FILE__) . '/lib/Errors/Parsing.php'); |
| 92 | require(dirname(__FILE__) . '/lib/Errors/Server.php'); |
| 93 | require(dirname(__FILE__) . '/lib/Errors/Network.php'); |
| 94 | |
| 95 | // WonderPush\Api |
| 96 | require(dirname(__FILE__) . '/lib/Api/Rest.php'); |
| 97 | require(dirname(__FILE__) . '/lib/Api/Deliveries.php'); |
| 98 | require(dirname(__FILE__) . '/lib/Api/Applications.php'); |
| 99 | require(dirname(__FILE__) . '/lib/Api/Segments.php'); |
| 100 | require(dirname(__FILE__) . '/lib/Api/Stats.php'); |
| 101 | require(dirname(__FILE__) . '/lib/Api/Installations.php'); |
| 102 | require(dirname(__FILE__) . '/lib/Api/Campaigns.php'); |
| 103 | require(dirname(__FILE__) . '/lib/Api/Events.php'); |
| 104 |