ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 26 of file class.ilBookingPeriod.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

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

35 {
36 $this->start = $start;
37 $this->end = $end;
38 }

References $end, and $start.

Member Function Documentation

◆ getEnd()

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

Implements ilDatePeriod.

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

43 : ?ilDateTime
44 {
45 return $this->end;
46 }
@classDescription Date and time handling

References $end.

◆ getStart()

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

Implements ilDatePeriod.

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

51 : ?ilDateTime
52 {
53 return $this->start;
54 }

References $start.

◆ isFullday()

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

Implements ilDatePeriod.

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

59 : bool
60 {
61 return false;
62 }

Field Documentation

◆ $end

ilDateTime ilBookingPeriod::$end = null
private

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

Referenced by __construct(), and getEnd().

◆ $start

ilDateTime ilBookingPeriod::$start = null
private

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

Referenced by __construct(), and getStart().


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