|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
class ilSessionAppointment 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 |
class ilSessionAppointment
\
Definition at line 29 of file class.ilSessionAppointment.php.
| ilSessionAppointment::__construct | ( | int | $a_appointment_id = 0 | ) |
Definition at line 43 of file class.ilSessionAppointment.php.
References $DIC, __read(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 387 of file class.ilSessionAppointment.php.
References $db, $ilDB, $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 252 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 347 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjSession\delete().
Here is the caller graph for this function:
|
static |
Definition at line 56 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $info, $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 360 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjSession\initAppointments().
Here is the caller graph for this function:| ilSessionAppointment::appointmentToString | ( | ) |
Definition at line 272 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 277 of file class.ilSessionAppointment.php.
References enabledFullTime(), getEndingTime(), and getStartingTime().
Here is the call graph for this function:| ilSessionAppointment::create | ( | ) |
Definition at line 289 of file class.ilSessionAppointment.php.
References $db, $ilDB, $res, enabledFullTime(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilSessionAppointment::delete | ( | ) |
Definition at line 329 of file class.ilSessionAppointment.php.
References _delete(), and getAppointmentId().
Here is the call graph for this function:| ilSessionAppointment::enabledFullTime | ( | ) |
Definition at line 232 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 237 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), and timeToString().
Here is the call graph for this function:| ilSessionAppointment::getAppointmentId | ( | ) |
Definition at line 193 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 178 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 223 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
Here is the caller graph for this function:| ilSessionAppointment::getSessionId | ( | ) |
Definition at line 202 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 168 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 213 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 163 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 136 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $res, $tree, ilDBConstants\FETCHMODE_OBJECT, ilTree\getChildsByType(), and ILIAS\Repository\int().
Referenced by ILIAS\Container\Content\ItemManager\init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 81 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $res, $tree, ilDBConstants\FETCHMODE_OBJECT, ilTree\getChildsByType(), IL_CAL_DATE, IL_CAL_DAY, and IL_CAL_UNIX.
Referenced by ILIAS\Container\Content\ItemManager\init().
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 188 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setEnd | ( | ilDateTime | $a_end | ) |
Definition at line 183 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setEndingTime | ( | int | $a_ending_time | ) |
Definition at line 218 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
| ilSessionAppointment::setSessionId | ( | int | $a_session_id | ) |
Definition at line 198 of file class.ilSessionAppointment.php.
Referenced by __read().
Here is the caller graph for this function:| ilSessionAppointment::setStart | ( | ilDateTime | $a_start | ) |
Definition at line 173 of file class.ilSessionAppointment.php.
| ilSessionAppointment::setStartingTime | ( | int | $a_starting_time | ) |
Definition at line 207 of file class.ilSessionAppointment.php.
References IL_CAL_UNIX.
| ilSessionAppointment::timeToString | ( | int | $start, |
| int | $end | ||
| ) |
Definition at line 242 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 228 of file class.ilSessionAppointment.php.
Referenced by __read().
Here is the caller graph for this function:| ilSessionAppointment::update | ( | ) |
Definition at line 311 of file class.ilSessionAppointment.php.
References $db, $ilDB, $res, enabledFullTime(), getAppointmentId(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilSessionAppointment::validate | ( | ) |
Definition at line 378 of file class.ilSessionAppointment.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file class.ilSessionAppointment.php.
Referenced by getAppointmentId().
|
protected |
Definition at line 32 of file class.ilSessionAppointment.php.
|
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 39 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and enabledFullTime().
|
protected |
Definition at line 31 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 34 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and timeToString().
|
protected |
Definition at line 41 of file class.ilSessionAppointment.php.
Referenced by getSessionId().
|
protected |
Definition at line 35 of file class.ilSessionAppointment.php.
Referenced by _appointmentToString(), and timeToString().
|
protected |
Definition at line 37 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 33 of file class.ilSessionAppointment.php.
Referenced by lookupLastSessionByCourse(), and lookupNextSessionByCourse().