Season
Table of Contents
-
$dates
: array<string|int, DateTime>
-
$days
: array<string|int, mixed>
-
$description
: string
-
$endDate
: DateTime
-
$id
: int
-
$startDate
: DateTime
-
$title
: string
-
__construct()
: mixed
-
getDates()
: array<string|int, DateTime>
-
getDays()
: array<string|int, mixed>
-
getDescription()
: DateTime
-
getEndDate()
: DateTime|null
-
getId()
: int
-
getStartDate()
: DateTime|null
-
getTitle()
: string
-
isAllowedWeekDay()
: bool
-
isDateInSeason()
: bool
-
setupDates()
: mixed
$dates
private
array<string|int, DateTime>
$dates
= array()
$days
private
array<string|int, mixed>
$days
= array()
$description
private
string
$description
$endDate
private
DateTime
$endDate
$id
private
int
$id
$startDate
private
DateTime
$startDate
$title
private
string
$title
__construct()
public
__construct(mixed $atts) : mixed
Parameters
-
$atts
: mixed
-
Return values
mixed
—
getDates()
public
getDates() : array<string|int, DateTime>
Return values
array<string|int, DateTime>
—
getDays()
public
getDays() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getDescription()
public
getDescription() : DateTime
Return values
DateTime
—
getEndDate()
public
getEndDate() : DateTime|null
Return values
DateTime|null
—
getId()
public
getId() : int
Return values
int
—
getStartDate()
public
getStartDate() : DateTime|null
Return values
DateTime|null
—
getTitle()
public
getTitle() : string
Return values
string
—
isAllowedWeekDay()
public
isAllowedWeekDay(DateTime $date) : bool
Parameters
-
$date
: DateTime
-
Return values
bool
—
isDateInSeason()
public
isDateInSeason(DateTime $date) : bool
Parameters
-
$date
: DateTime
-
Return values
bool
—
setupDates()
private
setupDates() : mixed
Return values
mixed
—