|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilSessionAppointment:
Collaboration diagram for ilSessionAppointment: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 () | |
| getStart () | |
| Get start of date period. More... | |
| getEnd () | |
| Get end of period. More... | |
| isFullday () | |
| is event a fullday period More... | |
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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 253 of file class.ilSessionAppointment.php.
References $DIC, $end, $fulltime, $lng, $start, ilDatePresentation\formatPeriod(), IL_CAL_UNIX, and ilLanguage\txt().
Referenced by ilCourseContentGUI\__renderUserItem(), appointmentToString(), ilRepositoryExplorerGUI\getNodeContent(), ilObjSessionListGUI\getTitle(), ilObjectCopySelectionTableGUI\parseSource(), ilTimingsManageTableGUI\parseTitle(), and ilTimingsPersonalTableGUI\parseTitle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 348 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjSession\delete().
Here is the caller graph for this function:
|
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(), ilRepositoryExplorerGUI\getNodeContent(), ilObjectCopySelectionTableGUI\parseSource(), ilTimingsManageTableGUI\parseTitle(), ilTimingsPersonalTableGUI\parseTitle(), and ilRepositoryExplorerGUI\sortChilds().
Here is the caller graph for this function:
|
static |
Definition at line 361 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjSession\initAppointments().
Here is the caller graph for this function:| ilSessionAppointment::appointmentToString | ( | ) |
Definition at line 273 of file class.ilSessionAppointment.php.
References _appointmentToString(), getEndingTime(), getStartingTime(), and isFullday().
Here is the call graph for this function:| ilSessionAppointment::cloneObject | ( | int | $new_id | ) |
Definition at line 278 of file class.ilSessionAppointment.php.
References enabledFullTime(), getEndingTime(), and getStartingTime().
Here is the call graph for this function:| ilSessionAppointment::create | ( | ) |
Definition at line 290 of file class.ilSessionAppointment.php.
References $db, $ilDB, $query, $res, enabledFullTime(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilSessionAppointment::delete | ( | ) |
Definition at line 330 of file class.ilSessionAppointment.php.
References _delete(), and getAppointmentId().
Here is the call graph for this function:| ilSessionAppointment::enabledFullTime | ( | ) |
Definition at line 233 of file class.ilSessionAppointment.php.
References $fulltime.
Referenced by cloneObject(), create(), isFullday(), and update().
Here is the caller graph for this function:| ilSessionAppointment::formatTime | ( | ) |
Definition at line 238 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), and timeToString().
Here is the call graph for this function:| ilSessionAppointment::getAppointmentId | ( | ) |
Definition at line 194 of file class.ilSessionAppointment.php.
References $appointment_id.
Referenced by __read(), delete(), and update().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilSessionAppointment::getEndingTime | ( | ) |
Definition at line 224 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
Here is the caller graph for this function:| ilSessionAppointment::getSessionId | ( | ) |
Definition at line 203 of file class.ilSessionAppointment.php.
References $session_id.
Referenced by create(), and update().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilSessionAppointment::getStartingTime | ( | ) |
Definition at line 214 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 137 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, $res, $tree, ilDBConstants\FETCHMODE_OBJECT, ilTree\getChildsByType(), and ILIAS\Repository\int().
Referenced by ilContainerByTypeContentGUI\initDetails(), ilContainerSessionsContentGUI\initDetails(), and ilContainerSimpleContentGUI\initDetails().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 82 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $query, $res, $tree, ilDBConstants\FETCHMODE_OBJECT, ilTree\getChildsByType(), IL_CAL_DATE, IL_CAL_DAY, and IL_CAL_UNIX.
Referenced by ilContainerByTypeContentGUI\initDetails(), ilContainerSessionsContentGUI\initDetails(), and ilContainerSimpleContentGUI\initDetails().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ) |
Definition at line 219 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
| ilSessionAppointment::setSessionId | ( | int | $a_session_id | ) |
Definition at line 199 of file class.ilSessionAppointment.php.
Referenced by __read().
Here is the caller graph for this function:| ilSessionAppointment::setStart | ( | ilDateTime | $a_start | ) |
Definition at line 174 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setStartingTime | ( | int | $a_starting_time | ) |
Definition at line 208 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSessionAppointment::toggleFullTime | ( | bool | $a_status | ) |
Definition at line 229 of file class.ilSessionAppointment.php.
Referenced by __read().
Here is the caller graph for this function:| 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.
Here is the call graph for this function:| ilSessionAppointment::validate | ( | ) |
Definition at line 379 of file class.ilSessionAppointment.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
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 _appointmentToString(), and timeToString().
|
protected |
Definition at line 39 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 40 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and enabledFullTime().
|
protected |
Definition at line 32 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 35 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and 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 _appointmentToString(), and timeToString().
|
protected |
Definition at line 38 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 34 of file class.ilSessionAppointment.php.
Referenced by lookupLastSessionByCourse(), and lookupNextSessionByCourse().