Primitive type
DateInterval
Type of3
Parameter |
Coding name |
when
|
Description |
When the service call should be executed. Might be in the past, but the earliest time the call is actually processed is after the current request has finished.
|
Position |
1
|
Type |
|
Parameter of |
ServiceCall->schedule(PHP instance method)
|
Default value |
Now
|
Examples |
- [%new DateInterval("PT3S")%]
- [%new DateTime("2030-12-31")%]
|
Parameter |
Coding name |
valid_until
|
Position |
2
|
Type |
|
Parameter of |
ticket(PHP function)
|
Default value |
7 days.
|
Comments |
- A %DateInterval% is added to now. It is the *maximum lifetime* of the ticket. If a ticket already exists that expires a sixth earlier than demanded, it suffices and will be resused. So for a year, that is approximately two months.
- No tolerance is applied to a %DateTime%. It must be valid to exactly that date.
|
See also |
www.topincs.com/issues/9619
|
Parameter |
Coding name |
when
|
Description |
When the service should be executed. When float/int is given, it is in seconds from the time of the call, with a significant sub second part behind the comma.
|
Position |
3
|
Type |
|
Parameter of |
schedule(PHP function)
|
Default value |
Now.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.