ILIAS
release_4-3 Revision
|
class ilSessionAppointment More...
Public Member Functions | |
ilSessionAppointment ($a_appointment_id=null) | |
isFullday () | |
is fullday | |
getStart () | |
get start | |
setStart ($a_start) | |
set start | |
getEnd () | |
get end | |
setEnd ($a_end) | |
set end | |
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 | |
create () | |
update () | |
delete () | |
_delete ($a_appointment_id) | |
_deleteBySession ($a_event_id) | |
_readAppointmentsBySession ($a_event_id) | |
validate () | |
__read () |
Static Public Member Functions | |
static | _lookupAppointment ($a_obj_id) |
lookup appointment | |
static | lookupNextSessionByCourse ($a_ref_id) |
public | |
static | lookupLastSessionByCourse ($a_ref_id) |
public | |
static | _appointmentToString ($start, $end, $fulltime) |
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::__read | ( | ) |
Definition at line 424 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, getAppointmentId(), IL_CAL_DATETIME, isFullday(), setSessionId(), and toggleFullTime().
Referenced by ilSessionAppointment().
|
static |
Definition at line 287 of file class.ilSessionAppointment.php.
References $end, $lng, $start, ilDatePresentation\formatPeriod(), and IL_CAL_UNIX.
Referenced by appointmentToString(), ilRepositoryExplorer\buildTitle(), ilObjSessionListGUI\getTitle(), and ilObjectCopySelectionTableGUI\parseSource().
ilSessionAppointment::_delete | ( | $a_appointment_id | ) |
Definition at line 375 of file class.ilSessionAppointment.php.
References $ilDB, $query, and $res.
Referenced by delete().
ilSessionAppointment::_deleteBySession | ( | $a_event_id | ) |
Definition at line 386 of file class.ilSessionAppointment.php.
References $ilDB, $query, and $res.
Referenced by ilObjSession\delete().
|
static |
lookup appointment
public
int | obj_id |
Definition at line 47 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and IL_CAL_DATETIME.
Referenced by ilLPStatusEvent\_getStatusInfo(), ilObjectActivation\addAdditionalSubItemInformation(), ilRepositoryExplorer\buildTitle(), ilLPStatusEvent\determineStatus(), ilObjSessionListGUI\getAppointmentInfo(), and ilObjectCopySelectionTableGUI\parseSource().
ilSessionAppointment::_readAppointmentsBySession | ( | $a_event_id | ) |
Definition at line 397 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and ilSessionAppointment().
Referenced by ilObjSession\initAppointments().
ilSessionAppointment::_timeToString | ( | $start, | |
$end | |||
) |
Definition at line 277 of file class.ilSessionAppointment.php.
References $end, $ilUser, $lng, and $start.
Referenced by formatTime().
ilSessionAppointment::appointmentToString | ( | ) |
Definition at line 306 of file class.ilSessionAppointment.php.
References _appointmentToString(), enabledFullTime(), getEndingTime(), and getStartingTime().
ilSessionAppointment::cloneObject | ( | $new_id | ) |
clone appointment
public
@return |
Definition at line 318 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), ilSessionAppointment(), and isFullday().
ilSessionAppointment::create | ( | ) |
Definition at line 329 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, enabledFullTime(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
ilSessionAppointment::delete | ( | ) |
Definition at line 370 of file class.ilSessionAppointment.php.
References _delete(), and getAppointmentId().
ilSessionAppointment::enabledFullTime | ( | ) |
Definition at line 267 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), create(), isFullday(), and update().
ilSessionAppointment::formatTime | ( | ) |
Definition at line 272 of file class.ilSessionAppointment.php.
References _timeToString(), getEndingTime(), and getStartingTime().
ilSessionAppointment::getAppointmentId | ( | ) |
Definition at line 228 of file class.ilSessionAppointment.php.
Referenced by __read(), delete(), and update().
ilSessionAppointment::getEnd | ( | ) |
get end
public
Implements ilDatePeriod.
Definition at line 207 of file class.ilSessionAppointment.php.
References IL_CAL_DATETIME.
Referenced by create(), and update().
ilSessionAppointment::getEndingTime | ( | ) |
Definition at line 258 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
ilSessionAppointment::getSessionId | ( | ) |
Definition at line 237 of file class.ilSessionAppointment.php.
Referenced by create(), and update().
ilSessionAppointment::getStart | ( | ) |
get start
public
@return | ilDateTime |
Implements ilDatePeriod.
Definition at line 185 of file class.ilSessionAppointment.php.
References IL_CAL_DATETIME.
Referenced by create(), and update().
ilSessionAppointment::getStartingTime | ( | ) |
Definition at line 248 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
ilSessionAppointment::ilSessionAppointment | ( | $a_appointment_id = null | ) |
Definition at line 28 of file class.ilSessionAppointment.php.
References $ilDB, $ilErr, $lng, $tree, and __read().
Referenced by _readAppointmentsBySession(), and cloneObject().
ilSessionAppointment::isFullday | ( | ) |
is fullday
public
@return |
Implements ilDatePeriod.
Definition at line 173 of file class.ilSessionAppointment.php.
References enabledFullTime().
Referenced by __read(), and cloneObject().
|
static |
public
@return |
Definition at line 138 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, $tree, and DB_FETCHMODE_OBJECT.
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
|
static |
public
@return | array |
Definition at line 76 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, $tree, DB_FETCHMODE_OBJECT, IL_CAL_DATE, IL_CAL_DAY, and IL_CAL_UNIX.
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
ilSessionAppointment::setAppointmentId | ( | $a_appointment_id | ) |
Definition at line 224 of file class.ilSessionAppointment.php.
ilSessionAppointment::setEnd | ( | $a_end | ) |
set end
public
object | $date | ilDateTime |
Definition at line 219 of file class.ilSessionAppointment.php.
ilSessionAppointment::setEndingTime | ( | $a_ending_time | ) |
Definition at line 253 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
ilSessionAppointment::setSessionId | ( | $a_session_id | ) |
Definition at line 233 of file class.ilSessionAppointment.php.
Referenced by __read().
ilSessionAppointment::setStart | ( | $a_start | ) |
set start
public
object | $data | ilDateTime |
Definition at line 196 of file class.ilSessionAppointment.php.
ilSessionAppointment::setStartingTime | ( | $a_starting_time | ) |
Definition at line 242 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
ilSessionAppointment::toggleFullTime | ( | $a_status | ) |
Definition at line 263 of file class.ilSessionAppointment.php.
Referenced by __read().
ilSessionAppointment::update | ( | ) |
Definition at line 352 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, enabledFullTime(), getAppointmentId(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
ilSessionAppointment::validate | ( | ) |
Definition at line 413 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 __read(), _delete(), _deleteBySession(), _lookupAppointment(), _readAppointmentsBySession(), create(), ilSessionAppointment(), lookupLastSessionByCourse(), lookupNextSessionByCourse(), and update().
ilSessionAppointment::$ilErr |
Definition at line 17 of file class.ilSessionAppointment.php.
Referenced by ilSessionAppointment().
ilSessionAppointment::$lng |
Definition at line 20 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), _timeToString(), and ilSessionAppointment().
|
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 ilSessionAppointment(), lookupLastSessionByCourse(), and lookupNextSessionByCourse().