ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 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.

References $end, and $start.

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

Member Function Documentation

◆ getEnd()

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

Implements ilDatePeriod.

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

References $end.

43  : ?ilDateTime
44  {
45  return $this->end;
46  }

◆ getStart()

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

Implements ilDatePeriod.

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

References $start.

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

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