Sunnysideup\Schedulizer\Model\ScheduleRange\ScheduleRangeDefault
A date range class that can hold: - specific date range (e.g 01/01/2015 to 29/01/2015 - specific day range (e.g Mon to Friday) - specific day type range (e.g Weekday or Weekend)
- Author: Stephen McMahon <stephen@symbiote.com.au>
Synopsis
class ScheduleRangeDefault
extends ScheduleRangeDay
{
- // Inherited constants from ScheduleRangeDay
- const WEEK_DAYS = ;
- // members
- private static string $table_name = 'ScheduleRangeDefault';
- // Inherited members from ScheduleRange
- protected integer $day;
- // methods
- public void onBeforeWrite()
- public void getCMSFields()
- // Inherited methods from ScheduleRangeDay
- public void getCMSFields()
- public DateTime|null getNextDateTime()
- protected void getDays()
- // Inherited methods from ScheduleRange
- public void __accessForgetScheduleDay()
- public void getCMSFields()
- public void getCMSValidator()
- public DateTime|null getNextDateTime()
- public void getStartDateTime()
- public Datetime getEndDateTime()
- public Datetime getLastScheduleTime()
- protected Datetime|null getScheduleDateTime()
- protected void getScheduleDay()
- protected void goToNextDay()
Hierarchy
Constants
Name | Value |
---|---|
WEEK_DAYS |
Members
private
- $table_name
protected
- $day
—
int
The day we're at in a Range when looking for the next valid.
Methods
public
Inherited from Sunnysideup\Schedulizer\Model\ScheduleRange\ScheduleRangeDay
protected
- getDays() — Uses the ApplicableDays list to create a weeks worth of valid start/end dates
public
- getCMSFields()
- getNextDateTime() — Determines the next valid time and date for this schedule to execute
Inherited from Sunnysideup\Schedulizer\Model\ScheduleRange
protected
public
- __accessForgetScheduleDay()
- getCMSFields()
- getCMSValidator()
- getEndDateTime() — The end time for the start/end block
- getLastScheduleTime() — The end time for the start/end block
- getNextDateTime() — Detrimines the next valid time and date for this schedule to execute
- getStartDateTime()