ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
class ilSessionAppointment More...
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 () | |
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().
|
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(), null, setSessionId(), and toggleFullTime().
Referenced by __construct().
|
static |
Definition at line 252 of file class.ilSessionAppointment.php.
References $DIC, ilDatePresentation\formatPeriod(), IL_CAL_UNIX, and ilLanguage\txt().
Referenced by ilCourseContentGUI\__renderUserItem(), ilRepositoryExplorerGUI\getNodeContent(), ilObjSessionListGUI\getTitle(), ilObjectCopySelectionTableGUI\parseSource(), ilTimingsPersonalTableGUI\parseTitle(), ilTimingsManageTableGUI\parseTitle(), and ilSessionMailTemplateParticipantContext\resolveSpecificPlaceholder().
|
static |
|
static |
Definition at line 347 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjSession\delete().
|
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(), ilTimingsPersonalTableGUI\parseTitle(), ilTimingsManageTableGUI\parseTitle(), ilSessionMailTemplateParticipantContext\resolveSpecificPlaceholder(), and ilRepositoryExplorerGUI\sortChilds().
|
static |
Definition at line 360 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjSession\initAppointments().
ilSessionAppointment::appointmentToString | ( | ) |
Definition at line 272 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), and isFullday().
ilSessionAppointment::cloneObject | ( | int | $new_id | ) |
Definition at line 277 of file class.ilSessionAppointment.php.
References enabledFullTime(), getEndingTime(), and getStartingTime().
ilSessionAppointment::create | ( | ) |
Definition at line 289 of file class.ilSessionAppointment.php.
References $db, $ilDB, $res, enabledFullTime(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
ilSessionAppointment::delete | ( | ) |
Definition at line 329 of file class.ilSessionAppointment.php.
References getAppointmentId().
ilSessionAppointment::enabledFullTime | ( | ) |
Definition at line 232 of file class.ilSessionAppointment.php.
References $fulltime.
Referenced by cloneObject(), create(), isFullday(), and update().
ilSessionAppointment::formatTime | ( | ) |
Definition at line 237 of file class.ilSessionAppointment.php.
References getEndingTime(), getStartingTime(), and timeToString().
ilSessionAppointment::getAppointmentId | ( | ) |
Definition at line 193 of file class.ilSessionAppointment.php.
References $appointment_id.
Referenced by __read(), delete(), and update().
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().
ilSessionAppointment::getEndingTime | ( | ) |
Definition at line 223 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
ilSessionAppointment::getSessionId | ( | ) |
Definition at line 202 of file class.ilSessionAppointment.php.
References $session_id.
Referenced by create(), and update().
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().
ilSessionAppointment::getStartingTime | ( | ) |
Definition at line 213 of file class.ilSessionAppointment.php.
Referenced by appointmentToString(), cloneObject(), and formatTime().
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().
|
static |
Definition at line 136 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ilTree\getChildsByType(), and ILIAS\Repository\int().
Referenced by ILIAS\UI\Component\Legacy\Content\ItemManager\init().
|
static |
Definition at line 81 of file class.ilSessionAppointment.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ilTree\getChildsByType(), IL_CAL_DATE, IL_CAL_DAY, and IL_CAL_UNIX.
Referenced by ILIAS\UI\Component\Legacy\Content\ItemManager\init().
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 | ) |
ilSessionAppointment::setSessionId | ( | int | $a_session_id | ) |
Definition at line 198 of file class.ilSessionAppointment.php.
Referenced by __read().
ilSessionAppointment::setStart | ( | ilDateTime | $a_start | ) |
Definition at line 173 of file class.ilSessionAppointment.php.
ilSessionAppointment::setStartingTime | ( | int | $a_starting_time | ) |
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().
ilSessionAppointment::toggleFullTime | ( | bool | $a_status | ) |
Definition at line 228 of file class.ilSessionAppointment.php.
Referenced by __read().
ilSessionAppointment::update | ( | ) |
Definition at line 311 of file class.ilSessionAppointment.php.
References $db, $ilDB, $res, enabledFullTime(), getAppointmentId(), getEnd(), getSessionId(), getStart(), and IL_CAL_DATETIME.
ilSessionAppointment::validate | ( | ) |
Definition at line 378 of file class.ilSessionAppointment.php.
References ILIAS\Repository\lng().
|
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 timeToString().
|
protected |
Definition at line 38 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 39 of file class.ilSessionAppointment.php.
Referenced by enabledFullTime().
|
protected |
Definition at line 31 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 34 of file class.ilSessionAppointment.php.
Referenced by 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 timeToString().
|
protected |
Definition at line 37 of file class.ilSessionAppointment.php.
|
protected |
Definition at line 33 of file class.ilSessionAppointment.php.