ActionScheduler_IntervalSchedule
in package
implements
ActionScheduler_Schedule
Class ActionScheduler_IntervalSchedule
Interfaces, Classes and Traits
- ActionScheduler_Schedule
- Class ActionScheduler_Schedule
Table of Contents
- $interval_in_seconds : mixed
- $start : DateTime
- $start_timestamp : mixed
- __construct() : mixed
- __sleep() : array<string|int, mixed>
- For PHP 5.2 compat, since DateTime objects can't be serialized
- __wakeup() : mixed
- interval_in_seconds() : int
- is_recurring() : bool
- next() : DateTime|null
Properties
$interval_in_seconds
private
mixed
$interval_in_seconds
= 0
$start
private
DateTime
$start
= NULL
$start_timestamp
private
mixed
$start_timestamp
= 0
Methods
__construct()
public
__construct(DateTime $start, mixed $interval) : mixed
Parameters
- $start : DateTime
- $interval : mixed
Return values
mixed —__sleep()
For PHP 5.2 compat, since DateTime objects can't be serialized
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed> —__wakeup()
public
__wakeup() : mixed
Return values
mixed —interval_in_seconds()
public
interval_in_seconds() : int
Return values
int —is_recurring()
public
is_recurring() : bool
Return values
bool —next()
public
next([DateTime $after = NULL ]) : DateTime|null
Parameters
- $after : DateTime = NULL