ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
class ilSessionAppointment More...
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 () | |
Static Public Member Functions | |
static | _lookupAppointment ($a_obj_id) |
lookup appointment More... | |
static | lookupNextSessionByCourse ($a_ref_id) |
public More... | |
static | lookupLastSessionByCourse ($a_ref_id) |
public More... | |
static | _appointmentToString ($start, $end, $fulltime) |
static | _delete ($a_appointment_id) |
static | _deleteBySession ($a_event_id) |
static | _readAppointmentsBySession ($a_event_id) |
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 | ) |
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().
|
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().
|
static |
|
static |
Definition at line 390 of file class.ilSessionAppointment.php.
References $ilDB, $query, and $res.
Referenced by ilObjSession\delete().
|
static |
lookup appointment
public
int | obj_id |
Definition at line 51 of file class.ilSessionAppointment.php.
References $ilDB, $info, $query, $res, $row, array, 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().
|
static |
Definition at line 401 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjSession\initAppointments().
ilSessionAppointment::_timeToString | ( | $start, | |
$end | |||
) |
Definition at line 281 of file class.ilSessionAppointment.php.
References $end, $ilUser, $lng, $start, and date.
Referenced by formatTime().
ilSessionAppointment::appointmentToString | ( | ) |
Definition at line 310 of file class.ilSessionAppointment.php.
References _appointmentToString(), enabledFullTime(), getEndingTime(), and getStartingTime().
ilSessionAppointment::cloneObject | ( | $new_id | ) |
clone appointment
public
Definition at line 322 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), and isFullday().
ilSessionAppointment::create | ( | ) |
Definition at line 333 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, enabledFullTime(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
ilSessionAppointment::delete | ( | ) |
Definition at line 374 of file class.ilSessionAppointment.php.
References _delete(), and getAppointmentId().
ilSessionAppointment::enabledFullTime | ( | ) |
Definition at line 271 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), create(), isFullday(), and update().
ilSessionAppointment::formatTime | ( | ) |
Definition at line 276 of file class.ilSessionAppointment.php.
References _timeToString(), getEndingTime(), and getStartingTime().
ilSessionAppointment::getAppointmentId | ( | ) |
Definition at line 232 of file class.ilSessionAppointment.php.
Referenced by __read(), delete(), and update().
ilSessionAppointment::getEnd | ( | ) |
get end
public
Implements ilDatePeriod.
Definition at line 211 of file class.ilSessionAppointment.php.
References date, and IL_CAL_DATETIME.
Referenced by create(), and update().
ilSessionAppointment::getEndingTime | ( | ) |
Definition at line 262 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
ilSessionAppointment::getSessionId | ( | ) |
Definition at line 241 of file class.ilSessionAppointment.php.
Referenced by create(), and update().
ilSessionAppointment::getStart | ( | ) |
get start
public
Implements ilDatePeriod.
Definition at line 189 of file class.ilSessionAppointment.php.
References date, and IL_CAL_DATETIME.
Referenced by create(), and update().
ilSessionAppointment::getStartingTime | ( | ) |
Definition at line 252 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
ilSessionAppointment::isFullday | ( | ) |
is fullday
public
Implements ilDatePeriod.
Definition at line 177 of file class.ilSessionAppointment.php.
References enabledFullTime().
Referenced by __read(), and cloneObject().
|
static |
public
Definition at line 142 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, $tree, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
|
static |
public
Definition at line 80 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, $tree, array, ilDBConstants\FETCHMODE_OBJECT, IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, and time.
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
ilSessionAppointment::setAppointmentId | ( | $a_appointment_id | ) |
Definition at line 228 of file class.ilSessionAppointment.php.
ilSessionAppointment::setEnd | ( | $a_end | ) |
set end
public
object | $date | ilDateTime |
Definition at line 223 of file class.ilSessionAppointment.php.
ilSessionAppointment::setEndingTime | ( | $a_ending_time | ) |
ilSessionAppointment::setSessionId | ( | $a_session_id | ) |
Definition at line 237 of file class.ilSessionAppointment.php.
Referenced by __read().
ilSessionAppointment::setStart | ( | $a_start | ) |
set start
public
object | $data | ilDateTime |
Definition at line 200 of file class.ilSessionAppointment.php.
ilSessionAppointment::setStartingTime | ( | $a_starting_time | ) |
ilSessionAppointment::toggleFullTime | ( | $a_status | ) |
Definition at line 267 of file class.ilSessionAppointment.php.
Referenced by __read().
ilSessionAppointment::update | ( | ) |
Definition at line 356 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, enabledFullTime(), getAppointmentId(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
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().