|
ILIAS
Release_4_0_x_branch Revision 61816
|
class ilSessionAppointment More...
Inheritance diagram for ilSessionAppointment:
Collaboration diagram for ilSessionAppointment: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 34 of file class.ilSessionAppointment.php.
| ilSessionAppointment::__read | ( | ) |
Definition at line 416 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, getAppointmentId(), IL_CAL_DATETIME, isFullday(), setSessionId(), and toggleFullTime().
Referenced by ilSessionAppointment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 279 of file class.ilSessionAppointment.php.
References $end, $lng, $start, ilDatePresentation\formatPeriod(), and IL_CAL_UNIX.
Referenced by ilCourseContentGUI\__renderEvent(), appointmentToString(), and ilObjSessionListGUI\getTitle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSessionAppointment::_delete | ( | $a_appointment_id | ) |
Definition at line 367 of file class.ilSessionAppointment.php.
References $ilDB, $query, and $res.
Referenced by delete().
Here is the caller graph for this function:| ilSessionAppointment::_deleteBySession | ( | $a_event_id | ) |
Definition at line 378 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
public
| int | obj_id |
Definition at line 66 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and IL_CAL_DATETIME.
Referenced by ilCourseItems\__getItemData(), ilLPStatusEvent\_getStatusInfo(), and ilObjSessionListGUI\getAppointmentInfo().
Here is the caller graph for this function:| ilSessionAppointment::_readAppointmentsBySession | ( | $a_event_id | ) |
Definition at line 389 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and ilSessionAppointment().
Referenced by ilObjSession\initAppointments().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSessionAppointment::_timeToString | ( | $start, | |
| $end | |||
| ) |
Definition at line 269 of file class.ilSessionAppointment.php.
References $end, $lng, and $start.
Referenced by formatTime().
Here is the caller graph for this function:| ilSessionAppointment::appointmentToString | ( | ) |
Definition at line 298 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
public
| @return |
Definition at line 310 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), ilSessionAppointment(), and isFullday().
Here is the call graph for this function:| ilSessionAppointment::create | ( | ) |
Definition at line 321 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 362 of file class.ilSessionAppointment.php.
References _delete(), and getAppointmentId().
Here is the call graph for this function:| ilSessionAppointment::enabledFullTime | ( | ) |
Definition at line 259 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 264 of file class.ilSessionAppointment.php.
References _timeToString(), getEndingTime(), and getStartingTime().
Here is the call graph for this function:| ilSessionAppointment::getAppointmentId | ( | ) |
Definition at line 220 of file class.ilSessionAppointment.php.
Referenced by __read(), delete(), and update().
Here is the caller graph for this function:| ilSessionAppointment::getEnd | ( | ) |
get end
public
Implements ilDatePeriod.
Definition at line 199 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 250 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
Here is the caller graph for this function:| ilSessionAppointment::getSessionId | ( | ) |
Definition at line 229 of file class.ilSessionAppointment.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSessionAppointment::getStart | ( | ) |
get start
public
| @return | ilDateTime |
Implements ilDatePeriod.
Definition at line 177 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 240 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
Here is the caller graph for this function:| ilSessionAppointment::ilSessionAppointment | ( | $a_appointment_id = null | ) |
Definition at line 47 of file class.ilSessionAppointment.php.
References $ilDB, $ilErr, $lng, $tree, and __read().
Referenced by _readAppointmentsBySession(), and cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSessionAppointment::isFullday | ( | ) |
is fullday
public
| @return |
Implements ilDatePeriod.
Definition at line 165 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 |
public
| @return |
Definition at line 130 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, $tree, and DB_FETCHMODE_OBJECT.
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
Here is the caller graph for this function:
|
static |
public
| @return |
Definition at line 95 of file class.ilSessionAppointment.php.
References $ilDB, $query, $res, $row, $tree, and DB_FETCHMODE_OBJECT.
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
Here is the caller graph for this function:| ilSessionAppointment::setAppointmentId | ( | $a_appointment_id | ) |
Definition at line 216 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setEnd | ( | $a_end | ) |
set end
public
| object | $date | ilDateTime |
Definition at line 211 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setEndingTime | ( | $a_ending_time | ) |
Definition at line 245 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
| ilSessionAppointment::setSessionId | ( | $a_session_id | ) |
Definition at line 225 of file class.ilSessionAppointment.php.
Referenced by __read().
Here is the caller graph for this function:| ilSessionAppointment::setStart | ( | $a_start | ) |
set start
public
| object | $data | ilDateTime |
Definition at line 188 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setStartingTime | ( | $a_starting_time | ) |
Definition at line 234 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
| ilSessionAppointment::toggleFullTime | ( | $a_status | ) |
Definition at line 255 of file class.ilSessionAppointment.php.
Referenced by __read().
Here is the caller graph for this function:| ilSessionAppointment::update | ( | ) |
Definition at line 344 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 405 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 42 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and _timeToString().
| ilSessionAppointment::$ending_time = null |
Definition at line 45 of file class.ilSessionAppointment.php.
| ilSessionAppointment::$ilDB |
Definition at line 37 of file class.ilSessionAppointment.php.
Referenced by __read(), _delete(), _deleteBySession(), _lookupAppointment(), _readAppointmentsBySession(), create(), ilSessionAppointment(), lookupLastSessionByCourse(), lookupNextSessionByCourse(), and update().
| ilSessionAppointment::$ilErr |
Definition at line 36 of file class.ilSessionAppointment.php.
Referenced by ilSessionAppointment().
| ilSessionAppointment::$lng |
Definition at line 39 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), _timeToString(), and ilSessionAppointment().
|
protected |
Definition at line 41 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and _timeToString().
| ilSessionAppointment::$starting_time = null |
Definition at line 44 of file class.ilSessionAppointment.php.
| ilSessionAppointment::$tree |
Definition at line 38 of file class.ilSessionAppointment.php.
Referenced by ilSessionAppointment(), lookupLastSessionByCourse(), and lookupNextSessionByCourse().