ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBookingPeriod Class Reference

Booking period Used for calculation of recurring events. More...

+ Inheritance diagram for ilBookingPeriod:
+ Collaboration diagram for ilBookingPeriod:

Public Member Functions

 __construct (ilDateTime $start, ilDateTime $end)
 Constructor. More...
 
 getEnd ()
 
 getStart ()
 
 isFullday ()
 

Private Attributes

ilDateTime $start = null
 
ilDateTime $end = null
 

Detailed Description

Booking period Used for calculation of recurring events.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 12 of file class.ilBookingPeriod.php.

Constructor & Destructor Documentation

◆ __construct()

ilBookingPeriod::__construct ( ilDateTime  $start,
ilDateTime  $end 
)

Constructor.

Definition at line 20 of file class.ilBookingPeriod.php.

References $end, and $start.

21  {
22  $this->start = $start;
23  $this->end = $end;
24  }

Member Function Documentation

◆ getEnd()

ilBookingPeriod::getEnd ( )
See also
ilDatePeriod::getEnd()

Implements ilDatePeriod.

Definition at line 29 of file class.ilBookingPeriod.php.

References $end.

29  : ?ilDateTime
30  {
31  return $this->end;
32  }

◆ getStart()

ilBookingPeriod::getStart ( )
See also
ilDatePeriod::getStart()

Implements ilDatePeriod.

Definition at line 37 of file class.ilBookingPeriod.php.

References $start.

37  : ?ilDateTime
38  {
39  return $this->start;
40  }

◆ isFullday()

ilBookingPeriod::isFullday ( )
See also
ilDatePeriod::isFullday()

Implements ilDatePeriod.

Definition at line 45 of file class.ilBookingPeriod.php.

45  : bool
46  {
47  return false;
48  }

Field Documentation

◆ $end

ilDateTime ilBookingPeriod::$end = null
private

Definition at line 15 of file class.ilBookingPeriod.php.

Referenced by __construct(), and getEnd().

◆ $start

ilDateTime ilBookingPeriod::$start = null
private

Definition at line 14 of file class.ilBookingPeriod.php.

Referenced by __construct(), and getStart().


The documentation for this class was generated from the following file: