|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
class ilSessionAppointment More...
Inheritance diagram for ilSessionAppointment:
Collaboration diagram for ilSessionAppointment:Public Member Functions | |
| __construct ($a_appointment_id=null) | |
| Consructor. More... | |
| isFullday () | |
| is fullday More... | |
| getStart () | |
| get start More... | |
| setStart ($a_start) | |
| set start More... | |
| getEnd () | |
| get end More... | |
| setEnd ($a_end) | |
| set end More... | |
| setAppointmentId ($a_appointment_id) | |
| getAppointmentId () | |
| setSessionId ($a_session_id) | |
| getSessionId () | |
| setStartingTime ($a_starting_time) | |
| getStartingTime () | |
| setEndingTime ($a_ending_time) | |
| getEndingTime () | |
| toggleFullTime ($a_status) | |
| enabledFullTime () | |
| formatTime () | |
| _timeToString ($start, $end) | |
| appointmentToString () | |
| cloneObject ($new_id) | |
| clone appointment More... | |
| create () | |
| update () | |
| delete () | |
| validate () | |
| __read () | |
| isFullday () | |
| is fullday More... | |
Static Public Member Functions | |
| static | _lookupAppointment ($a_obj_id) |
| lookup appointment More... | |
| static | lookupNextSessionByCourse ($a_ref_id) |
| @access public More... | |
| static | lookupLastSessionByCourse ($a_ref_id) |
| @access public More... | |
| static | _appointmentToString ($start, $end, $fulltime) |
| static | _delete ($a_appointment_id) |
| static | _deleteBySession ($a_event_id) |
| static | _readAppointmentsBySession ($a_event_id) |
| getStart () | |
| Interface method get start. More... | |
| getEnd () | |
| Interface method get end. More... | |
Data Fields | |
| $ilErr | |
| $ilDB | |
| $tree | |
| $lng | |
| $starting_time = null | |
| $ending_time = null | |
Protected Attributes | |
| $start = null | |
| $end = null | |
class ilSessionAppointment
Definition at line 15 of file class.ilSessionAppointment.php.
| ilSessionAppointment::__construct | ( | $a_appointment_id = null | ) |
Consructor.
| int | $a_appointment_id |
Definition at line 32 of file class.ilSessionAppointment.php.
References $ilDB, $ilErr, $lng, $tree, and __read().
Here is the call graph for this function:| ilSessionAppointment::__read | ( | ) |
Definition at line 428 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getAppointmentId(), IL_CAL_DATETIME, 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 291 of file class.ilSessionAppointment.php.
References $end, $lng, $start, ilDatePresentation\formatPeriod(), and IL_CAL_UNIX.
Referenced by ilCourseContentGUI\__renderItem(), ilCourseContentGUI\__renderUserItem(), appointmentToString(), ilCourseContentGUI\editTimings(), ilRepositoryExplorerGUI\getNodeContent(), ilObjSessionListGUI\getTitle(), and ilObjectCopySelectionTableGUI\parseSource().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 390 of file class.ilSessionAppointment.php.
References $ilDB, $query, and $res.
Referenced by ilObjSession\delete().
Here is the caller graph for this function:
|
static |
lookup appointment
@access public
| int | obj_id |
Definition at line 51 of file class.ilSessionAppointment.php.
References $ilDB, $info, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and IL_CAL_DATETIME.
Referenced by ilCourseContentGUI\__renderItem(), ilCourseContentGUI\__renderUserItem(), ilLPStatusEvent\_getStatusInfo(), ilObjectActivation\addAdditionalSubItemInformation(), ilLPStatusEvent\determineStatus(), ilCourseContentGUI\editTimings(), ilObjSessionListGUI\getAppointmentInfo(), ilRepositoryExplorerGUI\getNodeContent(), and ilObjectCopySelectionTableGUI\parseSource().
Here is the caller graph for this function:
|
static |
Definition at line 401 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjSession\initAppointments().
Here is the caller graph for this function:| ilSessionAppointment::_timeToString | ( | $start, | |
| $end | |||
| ) |
Definition at line 281 of file class.ilSessionAppointment.php.
References $end, $ilUser, $lng, $start, and date.
Referenced by formatTime().
Here is the caller graph for this function:| ilSessionAppointment::appointmentToString | ( | ) |
Definition at line 310 of file class.ilSessionAppointment.php.
References _appointmentToString(), enabledFullTime(), getEndingTime(), and getStartingTime().
Here is the call graph for this function:| ilSessionAppointment::cloneObject | ( | $new_id | ) |
clone appointment
@access public
return
Definition at line 322 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), and isFullday().
Here is the call graph for this function:| ilSessionAppointment::create | ( | ) |
Definition at line 333 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, enabledFullTime(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilSessionAppointment::delete | ( | ) |
Definition at line 374 of file class.ilSessionAppointment.php.
References _delete(), and getAppointmentId().
Here is the call graph for this function:| ilSessionAppointment::enabledFullTime | ( | ) |
Definition at line 271 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), create(), isFullday(), and update().
Here is the caller graph for this function:| ilSessionAppointment::formatTime | ( | ) |
Definition at line 276 of file class.ilSessionAppointment.php.
References _timeToString(), getEndingTime(), and getStartingTime().
Here is the call graph for this function:| ilSessionAppointment::getAppointmentId | ( | ) |
Definition at line 232 of file class.ilSessionAppointment.php.
Referenced by __read(), delete(), and update().
Here is the caller graph for this function:| ilSessionAppointment::getEnd | ( | ) |
get end
@access public
Implements ilDatePeriod.
Definition at line 211 of file class.ilSessionAppointment.php.
References date, and IL_CAL_DATETIME.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSessionAppointment::getEndingTime | ( | ) |
Definition at line 262 of file class.ilSessionAppointment.php.
References date.
Referenced by appointmentToString(), cloneObject(), and formatTime().
Here is the caller graph for this function:| ilSessionAppointment::getSessionId | ( | ) |
Definition at line 241 of file class.ilSessionAppointment.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSessionAppointment::getStart | ( | ) |
get start
@access public
return ilDateTime
Implements ilDatePeriod.
Definition at line 189 of file class.ilSessionAppointment.php.
References date, and IL_CAL_DATETIME.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSessionAppointment::getStartingTime | ( | ) |
Definition at line 252 of file class.ilSessionAppointment.php.
References date.
Referenced by appointmentToString(), cloneObject(), and formatTime().
Here is the caller graph for this function:| ilSessionAppointment::isFullday | ( | ) |
is fullday
@access public
return
Implements ilDatePeriod.
Definition at line 177 of file class.ilSessionAppointment.php.
References enabledFullTime().
Referenced by __read(), and cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
@access public
return
Definition at line 142 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, $tree, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerByTypeContentGUI\initDetails(), ilContainerSessionsContentGUI\initDetails(), and ilContainerSimpleContentGUI\initDetails().
Here is the caller graph for this function:
|
static |
@access public
return array
Definition at line 80 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, $tree, ilDBConstants\FETCHMODE_OBJECT, IL_CAL_DATE, IL_CAL_DAY, and IL_CAL_UNIX.
Referenced by ilContainerByTypeContentGUI\initDetails(), ilContainerSessionsContentGUI\initDetails(), and ilContainerSimpleContentGUI\initDetails().
Here is the caller graph for this function:| ilSessionAppointment::setAppointmentId | ( | $a_appointment_id | ) |
Definition at line 228 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setEnd | ( | $a_end | ) |
set end
@access public
| object | $date | ilDateTime |
Definition at line 223 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setEndingTime | ( | $a_ending_time | ) |
Definition at line 257 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
| ilSessionAppointment::setSessionId | ( | $a_session_id | ) |
Definition at line 237 of file class.ilSessionAppointment.php.
Referenced by __read().
Here is the caller graph for this function:| ilSessionAppointment::setStart | ( | $a_start | ) |
set start
@access public
| object | $data | ilDateTime |
Definition at line 200 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setStartingTime | ( | $a_starting_time | ) |
Definition at line 246 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
| ilSessionAppointment::toggleFullTime | ( | $a_status | ) |
Definition at line 267 of file class.ilSessionAppointment.php.
Referenced by __read().
Here is the caller graph for this function:| ilSessionAppointment::update | ( | ) |
Definition at line 356 of file class.ilSessionAppointment.php.
References $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 417 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 23 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and _timeToString().
| ilSessionAppointment::$ending_time = null |
Definition at line 26 of file class.ilSessionAppointment.php.
| ilSessionAppointment::$ilDB |
Definition at line 18 of file class.ilSessionAppointment.php.
Referenced by __construct(), __read(), _delete(), _deleteBySession(), _lookupAppointment(), _readAppointmentsBySession(), create(), lookupLastSessionByCourse(), lookupNextSessionByCourse(), and update().
| ilSessionAppointment::$ilErr |
Definition at line 17 of file class.ilSessionAppointment.php.
Referenced by __construct().
| ilSessionAppointment::$lng |
Definition at line 20 of file class.ilSessionAppointment.php.
Referenced by __construct(), _appointmentToString(), and _timeToString().
|
protected |
Definition at line 22 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and _timeToString().
| ilSessionAppointment::$starting_time = null |
Definition at line 25 of file class.ilSessionAppointment.php.
| ilSessionAppointment::$tree |
Definition at line 19 of file class.ilSessionAppointment.php.
Referenced by __construct(), lookupLastSessionByCourse(), and lookupNextSessionByCourse().