You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the requests for Carousel resources are created by instantiating a `ModelRequest` with the appropriate `Model` class name and passing that to the server's `get` method. Passing an array of parameters to the `ModelRequest` is also important so that your query is limited to the items you want to get.
60
60
61
61
For example, to get a set of bulletins in a given zone:
// here you would likely modify the bulletin's 'Blocks' to alter content
93
93
$group = new Group(['ZoneID'=>'5']);
@@ -143,7 +143,7 @@ File upload requests are used to post images video or audio to the server in ord
143
143
|Method|Parameters|Returns|Description|
144
144
|------|----------|-------|-----------|
145
145
|constructor|Model ClassName, associative array|Request Object|Pass this the class name of the Model you would like to retrieve (ie: Bulletin::class) and an associative array that determines the values to create the resource with. (ie: ['ZoneID'=>'5']) (currently only ZoneID is supported and its also required)|
146
-
|addFile|string|self - chainable|The URL or filepath of the file to upload to the server|
146
+
|addFile|string|self - chainable|The URL or file path of the file to upload to the server|
147
147
148
148
### BulletinOrderRequest
149
149
`TRMS\Carousel\Requests\BulletinOrderRequest`
@@ -186,7 +186,7 @@ A Bulletin is a piece of content displayed in Carousel. The closest analogy wou
186
186
|setDateTimeOn|DateTime|self - chainable|Sets the `DateTimeOn` property.|
187
187
|setDateTimeOff|DateTime|self - chainable|Sets the `DateTimeOff` property.|
188
188
|resetCycleTimes|none|self - chainable|Resets the `CycleTimeOn` and `CycleTimeOff` to be 'on all day'.|
189
-
|setCycleTimes|DateTime, DateTime|self - chainable|Sets the `CycleTimeOn` and `CycleTimeOff`propterties.|
189
+
|setCycleTimes|DateTime, DateTime|self - chainable|Sets the `CycleTimeOn` and `CycleTimeOff`properties.|
190
190
|setCycleTimeOn|DateTime|self - chainable|Sets the `CycleTimeOn` property.|
191
191
|setCycleTimeOff|DateTime|self - chainable|Sets the `CycleTimeOff` property.|
192
192
|setDaysOnAll|boolean (default true)|self - chainable|Sets display property for all days.|
@@ -202,13 +202,13 @@ A Bulletin is a piece of content displayed in Carousel. The closest analogy wou
202
202
|DwellTime|int|How long the bulletin displays each rotation.|
203
203
|UseSystemDwellTime|boolean|Should the system decide how long this bulletin displays each rotation, if false use the defined dwell time.|
204
204
|IsAlert|boolean|Is this Bulletin an alert bulletin? Alerts will override any non-alert content in a zone.|
205
-
|IsDeleted|boolean|Soft deletion property, soft deleted bulletins will be cleaned up and permenantly deleted after a time.|
205
+
|IsDeleted|boolean|Soft deletion property, soft deleted bulletins will be cleaned up and permanently deleted after a time.|
206
206
|IsScheduled|boolean|Does this bulletin respect the DateTimeOn and DateTimeOff values|
207
207
|DateTimeIOn|string|The date and time the bulletin will begin playing. (there are helper methods for setting this value)|
208
208
|DateTimeIOff|string|The date and time the bulletin will stop playing. (there are helper methods for setting this value)|
209
209
|CycleTimeIOn|string|The time the bulletin will begin playing each day it is scheduled Only the time portion of this is used by the server. (there are helper methods for setting this value)|
210
210
|CycleTimeIOn|string|The time the bulletin will begin playing each day it is scheduled Only the time portion of this is used by the server. (there are helper methods for setting this value)|
211
-
|WeekdayOnOff|int|A bitfield representation of the days of the week that this bulletin will play during its schedule. (there are helper methods for setting this value)|
211
+
|WeekdayOnOff|int|A bit-field representation of the days of the week that this bulletin will play during its schedule. (there are helper methods for setting this value)|
212
212
|WeekdayOnOffDescription|string (read only)|A human readable representation of the WeekdayOnOff value.|
213
213
|IsRepeating|boolean|Does this bulletin repeat playback every Nth bulletin.|
214
214
|RepeatInterval|int|How often a repeating bulletin repeats.|
@@ -443,7 +443,7 @@ This represents a Group and the order of its Bulletins. The order of the `Bulle
443
443
444
444
445
445
## Exceptions
446
-
You can expect the following exceptions to be thrown if things go off the rails with the server, or if you attepmpt to do things that are unsupported or not allowed.
446
+
You can expect the following exceptions to be thrown if things go off the rails with the server, or if you attempt to do things that are unsupported or not allowed.
0 commit comments