ILIAS  release_8 Revision v8.25-1-g13de6a5eca6
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 ()
 
 getStart ()
 Get start of date period. More...
 
 getEnd ()
 Get end of period. More...
 
 isFullday ()
 is event a fullday period More...
 

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.

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

References $end, and $start.

Member Function Documentation

◆ getEnd()

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

Implements ilDatePeriod.

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

29 : ?ilDateTime
30 {
31 return $this->end;
32 }
@classDescription Date and time handling

References $end.

◆ getStart()

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

Implements ilDatePeriod.

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

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

References $start.

◆ 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: