Move date range properties to abstract

This commit is contained in:
Brian Miyaji
2017-11-08 18:53:59 +11:00
parent 88ac36a930
commit b6bac0618b
2 changed files with 19 additions and 18 deletions

View File

@@ -19,30 +19,12 @@ class SP_Calendar extends SP_Secondary_Post {
/** @var string The events status. */
public $status;
/** @var string The date filter for events. */
public $date;
/** @var string The events order. */
public $order;
/** @var string The events orderby. */
public $orderby;
/** @var string The date to range from. */
public $from;
/** @var string The date to range to. */
public $to;
/** @var string The number of days to query in the past. */
public $past;
/** @var string The number of days to query in the future. */
public $future;
/** @var boolean Determines whether the date range is relative. */
public $relative;
/** @var string The match day. */
public $day;