ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_event_id) | |
setUserId (int $a_usr_id) | |
getUserId () | |
setMark (string $a_mark) | |
getMark () | |
setComment (string $a_comment) | |
getComment () | |
setParticipated (bool $a_status) | |
getParticipated () | |
setRegistered (bool $a_status) | |
getRegistered () | |
setExcused (bool $a_stat) | |
getExcused () | |
getEventId () | |
setEventId (int $a_event_id) | |
setContact (bool $a_status) | |
getContact () | |
isNotificationEnabled () | |
setNotificationEnabled (bool $value) | |
setParticipatedParticipants (array $participants_participated) | |
getParticipatedParticipants () | |
setRegisteredParticipants (array $registered_participants) | |
getRegisteredParticipants () | |
updateExcusedForUser (int $a_usr_id, bool $a_status) | |
updateUser () | |
getUser (int $a_usr_id) | |
getParticipants () | |
isRegistered (int $a_usr_id) | |
hasParticipated (int $a_usr_id) | |
isExcused (int $a_usr_id) | |
isContact (int $a_usr_id) | |
updateParticipation (int $a_usr_id, bool $a_status) | |
register (int $a_usr_id) | |
unregister (int $a_usr_id) | |
_lookupComment (int $a_event_id, int $a_usr_id) | |
Static Public Member Functions | |
static | _updateParticipation (int $a_usr_id, int $a_event_id, bool $a_status) |
static | _getRegistered (int $a_event_id) |
static | _getParticipated (int $a_event_id) |
static | _hasParticipated (int $a_usr_id, int $a_event_id) |
static | _isRegistered (int $a_usr_id, int $a_event_id) |
static | _register (int $a_usr_id, int $a_event_id) |
static | _unregister (int $a_usr_id, int $a_event_id) |
static | _lookupMark (int $a_event_id, int $a_usr_id) |
static | _deleteByEvent (int $a_event_id) |
static | _deleteByUser (int $a_usr_id) |
Protected Member Functions | |
__read () | |
Protected Attributes | |
ilDBInterface | $db |
ilTree | $tree |
int | $contact = 0 |
bool | $registered = false |
bool | $participated = false |
bool | $excused = false |
int | $event_id = 0 |
bool | $notificationEnabled = false |
int | $user_id = 0 |
string | $mark = "" |
string | $comment = "" |
array | $participants = [] |
array | $participants_registered = [] |
array | $participants_participated = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning class ilEventParticipants
Definition at line 29 of file class.ilEventParticipants.php.
ilEventParticipants::__construct | ( | int | $a_event_id | ) |
Definition at line 46 of file class.ilEventParticipants.php.
References $DIC, and __read().
|
protected |
Definition at line 463 of file class.ilEventParticipants.php.
References $db, $DIC, $ilDB, $query, $res, $session, $tree, ilObject\_getAllReferences(), ilTree\checkForParentType(), ilDBConstants\FETCHMODE_OBJECT, getEventId(), ilParticipants\getInstance(), ilObjectFactory\getInstanceByObjId(), ILIAS\Repository\int(), ilSessionConstants\NOTIFICATION_INHERIT_OPTION, and ilSessionConstants\NOTIFICATION_MANUAL_OPTION.
Referenced by __construct().
|
static |
Definition at line 435 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, $res, and ilLPMarks\deleteObject().
Referenced by ilObjSession\delete().
|
static |
Definition at line 450 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjUser\delete().
|
static |
Definition at line 301 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLPStatusEvent\_getStatusInfo(), and ilSessionOverviewTableGUI\getItems().
|
static |
Definition at line 284 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLPStatusEvent\_getStatusInfo().
|
static |
Definition at line 318 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilLPStatusEvent\determineStatus().
|
static |
Definition at line 334 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilSessionParticipants\_isParticipant(), ilLPStatusEvent\determineStatus(), ilObjSessionGUI\joinObject(), and ilObjSessionGUI\showJoinRequestButton().
ilEventParticipants::_lookupComment | ( | int | $a_event_id, |
int | $a_usr_id | ||
) |
Definition at line 429 of file class.ilEventParticipants.php.
|
static |
Definition at line 423 of file class.ilEventParticipants.php.
|
static |
Definition at line 350 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, $res, and ilLPStatusWrapper\_updateStatus().
Referenced by ilObjSessionGUI\joinObject(), and register().
|
static |
Definition at line 387 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, $res, and ilLPStatusWrapper\_updateStatus().
Referenced by ilObjSessionGUI\joinObject().
|
static |
Definition at line 252 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $query, $res, and ilLPStatusWrapper\_updateStatus().
ilEventParticipants::getComment | ( | ) |
Definition at line 81 of file class.ilEventParticipants.php.
References $comment.
Referenced by updateUser().
ilEventParticipants::getContact | ( | ) |
Definition at line 131 of file class.ilEventParticipants.php.
References $contact.
Referenced by updateUser().
ilEventParticipants::getEventId | ( | ) |
Definition at line 116 of file class.ilEventParticipants.php.
References $event_id.
Referenced by __read(), register(), unregister(), updateParticipation(), and updateUser().
ilEventParticipants::getExcused | ( | ) |
Definition at line 111 of file class.ilEventParticipants.php.
References $excused.
Referenced by updateUser().
ilEventParticipants::getMark | ( | ) |
Definition at line 71 of file class.ilEventParticipants.php.
References $mark.
Referenced by updateUser().
ilEventParticipants::getParticipants | ( | ) |
ilEventParticipants::getParticipated | ( | ) |
Definition at line 91 of file class.ilEventParticipants.php.
References $participated.
Referenced by updateUser().
ilEventParticipants::getParticipatedParticipants | ( | ) |
Definition at line 150 of file class.ilEventParticipants.php.
References $participants_participated.
ilEventParticipants::getRegistered | ( | ) |
Definition at line 101 of file class.ilEventParticipants.php.
References $registered.
Referenced by updateUser().
ilEventParticipants::getRegisteredParticipants | ( | ) |
Definition at line 158 of file class.ilEventParticipants.php.
References $participants_registered.
Referenced by ilObjSessionGUI\registerObject(), and ilObjSessionGUI\showJoinRequestButton().
ilEventParticipants::getUser | ( | int | $a_usr_id | ) |
Definition at line 216 of file class.ilEventParticipants.php.
ilEventParticipants::getUserId | ( | ) |
Definition at line 61 of file class.ilEventParticipants.php.
References $user_id.
Referenced by updateUser().
ilEventParticipants::hasParticipated | ( | int | $a_usr_id | ) |
Definition at line 231 of file class.ilEventParticipants.php.
Referenced by ilObjSessionGUI\eventsListObject().
ilEventParticipants::isContact | ( | int | $a_usr_id | ) |
Definition at line 241 of file class.ilEventParticipants.php.
ilEventParticipants::isExcused | ( | int | $a_usr_id | ) |
Definition at line 236 of file class.ilEventParticipants.php.
Referenced by ilObjSessionGUI\showJoinRequestButton().
ilEventParticipants::isNotificationEnabled | ( | ) |
Definition at line 136 of file class.ilEventParticipants.php.
References $notificationEnabled.
Referenced by updateUser().
ilEventParticipants::isRegistered | ( | int | $a_usr_id | ) |
Definition at line 226 of file class.ilEventParticipants.php.
ilEventParticipants::register | ( | int | $a_usr_id | ) |
Definition at line 382 of file class.ilEventParticipants.php.
References _register(), and getEventId().
ilEventParticipants::setComment | ( | string | $a_comment | ) |
Definition at line 76 of file class.ilEventParticipants.php.
References ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
ilEventParticipants::setContact | ( | bool | $a_status | ) |
Definition at line 126 of file class.ilEventParticipants.php.
References ILIAS\Repository\int().
ilEventParticipants::setEventId | ( | int | $a_event_id | ) |
Definition at line 121 of file class.ilEventParticipants.php.
ilEventParticipants::setExcused | ( | bool | $a_stat | ) |
Definition at line 106 of file class.ilEventParticipants.php.
ilEventParticipants::setMark | ( | string | $a_mark | ) |
Definition at line 66 of file class.ilEventParticipants.php.
ilEventParticipants::setNotificationEnabled | ( | bool | $value | ) |
Definition at line 141 of file class.ilEventParticipants.php.
ilEventParticipants::setParticipated | ( | bool | $a_status | ) |
Definition at line 86 of file class.ilEventParticipants.php.
ilEventParticipants::setParticipatedParticipants | ( | array | $participants_participated | ) |
Definition at line 146 of file class.ilEventParticipants.php.
References $participants_participated.
ilEventParticipants::setRegistered | ( | bool | $a_status | ) |
Definition at line 96 of file class.ilEventParticipants.php.
ilEventParticipants::setRegisteredParticipants | ( | array | $registered_participants | ) |
Definition at line 154 of file class.ilEventParticipants.php.
ilEventParticipants::setUserId | ( | int | $a_usr_id | ) |
Definition at line 56 of file class.ilEventParticipants.php.
ilEventParticipants::unregister | ( | int | $a_usr_id | ) |
Definition at line 418 of file class.ilEventParticipants.php.
References getEventId().
ilEventParticipants::updateExcusedForUser | ( | int | $a_usr_id, |
bool | $a_status | ||
) |
Definition at line 163 of file class.ilEventParticipants.php.
References $query, and ilDBConstants\T_INTEGER.
Referenced by ilObjSessionGUI\registerObject(), and ilObjSessionGUI\unregisterObject().
ilEventParticipants::updateParticipation | ( | int | $a_usr_id, |
bool | $a_status | ||
) |
Definition at line 247 of file class.ilEventParticipants.php.
References getEventId().
ilEventParticipants::updateUser | ( | ) |
Definition at line 185 of file class.ilEventParticipants.php.
References $db, $ilDB, $query, $res, ilLPStatusWrapper\_updateStatus(), getComment(), getContact(), getEventId(), getExcused(), getMark(), getParticipated(), getRegistered(), getUserId(), and isNotificationEnabled().
|
protected |
Definition at line 41 of file class.ilEventParticipants.php.
Referenced by getComment().
|
protected |
Definition at line 33 of file class.ilEventParticipants.php.
Referenced by getContact().
|
protected |
Definition at line 31 of file class.ilEventParticipants.php.
Referenced by __read(), and updateUser().
|
protected |
Definition at line 37 of file class.ilEventParticipants.php.
Referenced by getEventId().
|
protected |
Definition at line 36 of file class.ilEventParticipants.php.
Referenced by getExcused().
|
protected |
Definition at line 40 of file class.ilEventParticipants.php.
Referenced by getMark().
|
protected |
Definition at line 38 of file class.ilEventParticipants.php.
Referenced by isNotificationEnabled().
|
protected |
Definition at line 42 of file class.ilEventParticipants.php.
Referenced by getParticipants().
|
protected |
Definition at line 44 of file class.ilEventParticipants.php.
Referenced by getParticipatedParticipants(), and setParticipatedParticipants().
|
protected |
Definition at line 43 of file class.ilEventParticipants.php.
Referenced by getRegisteredParticipants().
|
protected |
Definition at line 35 of file class.ilEventParticipants.php.
Referenced by getParticipated().
|
protected |
Definition at line 34 of file class.ilEventParticipants.php.
Referenced by getRegistered().
|
protected |
Definition at line 32 of file class.ilEventParticipants.php.
Referenced by __read().
|
protected |
Definition at line 39 of file class.ilEventParticipants.php.
Referenced by getUserId().