ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_appointment_id=0) | |
isFullday () | |
is event a fullday period More... | |
getStart () | |
Get start of date period. More... | |
setStart (ilDateTime $a_start) | |
getEnd () | |
Get end of period. More... | |
setEnd (ilDateTime $a_end) | |
setAppointmentId (int $a_appointment_id) | |
getAppointmentId () | |
setSessionId (int $a_session_id) | |
getSessionId () | |
setStartingTime (int $a_starting_time) | |
getStartingTime () | |
setEndingTime (int $a_ending_time) | |
getEndingTime () | |
toggleFullTime (bool $a_status) | |
enabledFullTime () | |
formatTime () | |
timeToString (int $start, int $end) | |
appointmentToString () | |
cloneObject (int $new_id) | |
create () | |
update () | |
delete () | |
validate () | |
Static Public Member Functions | |
static | _lookupAppointment (int $a_obj_id) |
static | lookupNextSessionByCourse (int $a_ref_id) |
static | lookupLastSessionByCourse (int $a_ref_id) |
static | _appointmentToString (int $start, int $end, bool $fulltime) |
static | _delete (int $a_appointment_id) |
static | _deleteBySession (int $a_event_id) |
static | _readAppointmentsBySession (int $a_event_id) |
Protected Member Functions | |
__read () | |
Protected Attributes | |
ilErrorHandling | $ilErr |
ilDBInterface | $db |
ilTree | $tree |
ilLanguage | $lng |
ilDateTime | $start = null |
ilDateTime | $end = null |
int | $starting_time = 0 |
int | $ending_time = 0 |
bool | $fulltime = false |
int | $appointment_id = 0 |
int | $session_id = 0 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning class ilSessionAppointment
Definition at line 30 of file class.ilSessionAppointment.php.
ilSessionAppointment::__construct | ( | int | $a_appointment_id = 0 | ) |
Definition at line 44 of file class.ilSessionAppointment.php.
References $DIC, __read(), and ILIAS\Repository\lng().
|
protected |
Definition at line 388 of file class.ilSessionAppointment.php.
References $db, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, getAppointmentId(), IL_CAL_DATETIME, ILIAS\Repository\int(), isFullday(), setSessionId(), and toggleFullTime().
Referenced by __construct().
|
static |
Definition at line 253 of file class.ilSessionAppointment.php.
References $DIC, ilDatePresentation\formatPeriod(), IL_CAL_UNIX, and ilLanguage\txt().
Referenced by ilCourseContentGUI\__renderUserItem(), ilObjectListGUI\getAsCard(), ilRepositoryExplorerGUI\getNodeContent(), ilObjSessionListGUI\getTitle(), ilObjectCopySelectionTableGUI\parseSource(), ilTimingsPersonalTableGUI\parseTitle(), ilTimingsManageTableGUI\parseTitle(), and ilSessionMailTemplateParticipantContext\resolveSpecificPlaceholder().
|
static |
|
static |
Definition at line 348 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjSession\delete().
|
static |
Definition at line 57 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and IL_CAL_DATETIME.
Referenced by ilCourseContentGUI\__renderUserItem(), ilLPStatusEvent\_getStatusInfo(), ilObjectActivation\addAdditionalSubItemInformation(), ilLPStatusEvent\determineStatus(), ilObjSessionListGUI\getAppointmentInfo(), ilObjectListGUI\getAsCard(), ilRepositoryExplorerGUI\getNodeContent(), ilObjectCopySelectionTableGUI\parseSource(), ilTimingsPersonalTableGUI\parseTitle(), ilTimingsManageTableGUI\parseTitle(), ilSessionMailTemplateParticipantContext\resolveSpecificPlaceholder(), and ilRepositoryExplorerGUI\sortChilds().
|
static |
Definition at line 361 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjSession\initAppointments().
ilSessionAppointment::appointmentToString | ( | ) |
Definition at line 273 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), and isFullday().
ilSessionAppointment::cloneObject | ( | int | $new_id | ) |
Definition at line 278 of file class.ilSessionAppointment.php.
References enabledFullTime(), getEndingTime(), and getStartingTime().
ilSessionAppointment::create | ( | ) |
Definition at line 290 of file class.ilSessionAppointment.php.
References $db, $ilDB, $query, $res, enabledFullTime(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
ilSessionAppointment::delete | ( | ) |
Definition at line 330 of file class.ilSessionAppointment.php.
References getAppointmentId().
ilSessionAppointment::enabledFullTime | ( | ) |
Definition at line 233 of file class.ilSessionAppointment.php.
References $fulltime.
Referenced by cloneObject(), create(), isFullday(), and update().
ilSessionAppointment::formatTime | ( | ) |
Definition at line 238 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), and timeToString().
ilSessionAppointment::getAppointmentId | ( | ) |
Definition at line 194 of file class.ilSessionAppointment.php.
References $appointment_id.
Referenced by __read(), delete(), and update().
ilSessionAppointment::getEnd | ( | ) |
Get end of period.
Implements ilDatePeriod.
Definition at line 179 of file class.ilSessionAppointment.php.
References IL_CAL_DATETIME.
Referenced by create(), and update().
ilSessionAppointment::getEndingTime | ( | ) |
Definition at line 224 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
ilSessionAppointment::getSessionId | ( | ) |
Definition at line 203 of file class.ilSessionAppointment.php.
References $session_id.
Referenced by create(), and update().
ilSessionAppointment::getStart | ( | ) |
Get start of date period.
Implements ilDatePeriod.
Definition at line 169 of file class.ilSessionAppointment.php.
References IL_CAL_DATETIME.
Referenced by create(), and update().
ilSessionAppointment::getStartingTime | ( | ) |
Definition at line 214 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
ilSessionAppointment::isFullday | ( | ) |
is event a fullday period
Implements ilDatePeriod.
Definition at line 164 of file class.ilSessionAppointment.php.
References enabledFullTime().
Referenced by __read(), and appointmentToString().
|
static |
Definition at line 137 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilTree\getChildsByType(), and ILIAS\Repository\int().
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
|
static |
Definition at line 82 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilTree\getChildsByType(), IL_CAL_DATE, IL_CAL_DAY, and IL_CAL_UNIX.
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
ilSessionAppointment::setAppointmentId | ( | int | $a_appointment_id | ) |
Definition at line 189 of file class.ilSessionAppointment.php.
ilSessionAppointment::setEnd | ( | ilDateTime | $a_end | ) |
Definition at line 184 of file class.ilSessionAppointment.php.
ilSessionAppointment::setEndingTime | ( | int | $a_ending_time | ) |
ilSessionAppointment::setSessionId | ( | int | $a_session_id | ) |
Definition at line 199 of file class.ilSessionAppointment.php.
Referenced by __read().
ilSessionAppointment::setStart | ( | ilDateTime | $a_start | ) |
Definition at line 174 of file class.ilSessionAppointment.php.
ilSessionAppointment::setStartingTime | ( | int | $a_starting_time | ) |
ilSessionAppointment::timeToString | ( | int | $start, |
int | $end | ||
) |
Definition at line 243 of file class.ilSessionAppointment.php.
References $end, $lng, $start, and ilLanguage\txt().
Referenced by formatTime().
ilSessionAppointment::toggleFullTime | ( | bool | $a_status | ) |
Definition at line 229 of file class.ilSessionAppointment.php.
Referenced by __read().
ilSessionAppointment::update | ( | ) |
Definition at line 312 of file class.ilSessionAppointment.php.
References $db, $ilDB, $query, $res, enabledFullTime(), getAppointmentId(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
ilSessionAppointment::validate | ( | ) |
Definition at line 379 of file class.ilSessionAppointment.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 41 of file class.ilSessionAppointment.php.
Referenced by getAppointmentId().
|
protected |
Definition at line 33 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 37 of file class.ilSessionAppointment.php.
Referenced by timeToString().
|
protected |
Definition at line 39 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 40 of file class.ilSessionAppointment.php.
Referenced by enabledFullTime().
|
protected |
Definition at line 32 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 35 of file class.ilSessionAppointment.php.
Referenced by timeToString().
|
protected |
Definition at line 42 of file class.ilSessionAppointment.php.
Referenced by getSessionId().
|
protected |
Definition at line 36 of file class.ilSessionAppointment.php.
Referenced by timeToString().
|
protected |
Definition at line 38 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 34 of file class.ilSessionAppointment.php.