ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
class ilEventParticipants 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 = [] |
class ilEventParticipants
Definition at line 28 of file class.ilEventParticipants.php.
ilEventParticipants::__construct | ( | int | $a_event_id | ) |
Definition at line 45 of file class.ilEventParticipants.php.
References $DIC, and __read().
|
protected |
Definition at line 462 of file class.ilEventParticipants.php.
References $db, $DIC, $ilDB, $res, $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 434 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $res, and ilLPMarks\deleteObject().
Referenced by ilObjSession\delete().
|
static |
Definition at line 449 of file class.ilEventParticipants.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjUser\delete().
|
static |
Definition at line 300 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLPStatusEvent\_getStatusInfo(), and ilSessionOverviewTableGUI\getItems().
|
static |
Definition at line 283 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLPStatusEvent\_getStatusInfo().
|
static |
Definition at line 317 of file class.ilEventParticipants.php.
References $DIC, $ilDB, and $res.
Referenced by ilLPStatusEvent\determineStatus().
|
static |
Definition at line 333 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $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 428 of file class.ilEventParticipants.php.
|
static |
Definition at line 422 of file class.ilEventParticipants.php.
|
static |
Definition at line 349 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $res, and ilLPStatusWrapper\_updateStatus().
Referenced by ilObjSessionGUI\joinObject(), and register().
|
static |
Definition at line 386 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $res, and ilLPStatusWrapper\_updateStatus().
Referenced by ilObjSessionGUI\joinObject().
|
static |
Definition at line 251 of file class.ilEventParticipants.php.
References $DIC, $ilDB, $res, and ilLPStatusWrapper\_updateStatus().
ilEventParticipants::getComment | ( | ) |
Definition at line 80 of file class.ilEventParticipants.php.
References $comment.
Referenced by updateUser().
ilEventParticipants::getContact | ( | ) |
Definition at line 130 of file class.ilEventParticipants.php.
References $contact.
Referenced by updateUser().
ilEventParticipants::getEventId | ( | ) |
Definition at line 115 of file class.ilEventParticipants.php.
References $event_id.
Referenced by __read(), register(), unregister(), updateParticipation(), and updateUser().
ilEventParticipants::getExcused | ( | ) |
Definition at line 110 of file class.ilEventParticipants.php.
References $excused.
Referenced by updateUser().
ilEventParticipants::getMark | ( | ) |
Definition at line 70 of file class.ilEventParticipants.php.
References $mark.
Referenced by updateUser().
ilEventParticipants::getParticipants | ( | ) |
ilEventParticipants::getParticipated | ( | ) |
Definition at line 90 of file class.ilEventParticipants.php.
References $participated.
Referenced by updateUser().
ilEventParticipants::getParticipatedParticipants | ( | ) |
Definition at line 149 of file class.ilEventParticipants.php.
References $participants_participated.
ilEventParticipants::getRegistered | ( | ) |
Definition at line 100 of file class.ilEventParticipants.php.
References $registered.
Referenced by updateUser().
ilEventParticipants::getRegisteredParticipants | ( | ) |
Definition at line 157 of file class.ilEventParticipants.php.
References $participants_registered.
Referenced by ilObjSessionGUI\registerObject(), and ilObjSessionGUI\showJoinRequestButton().
ilEventParticipants::getUser | ( | int | $a_usr_id | ) |
Definition at line 215 of file class.ilEventParticipants.php.
ilEventParticipants::getUserId | ( | ) |
Definition at line 60 of file class.ilEventParticipants.php.
References $user_id.
Referenced by updateUser().
ilEventParticipants::hasParticipated | ( | int | $a_usr_id | ) |
Definition at line 230 of file class.ilEventParticipants.php.
Referenced by ilObjSessionGUI\eventsListObject().
ilEventParticipants::isContact | ( | int | $a_usr_id | ) |
Definition at line 240 of file class.ilEventParticipants.php.
ilEventParticipants::isExcused | ( | int | $a_usr_id | ) |
Definition at line 235 of file class.ilEventParticipants.php.
Referenced by ilObjSessionGUI\showJoinRequestButton().
ilEventParticipants::isNotificationEnabled | ( | ) |
Definition at line 135 of file class.ilEventParticipants.php.
References $notificationEnabled.
Referenced by updateUser().
ilEventParticipants::isRegistered | ( | int | $a_usr_id | ) |
Definition at line 225 of file class.ilEventParticipants.php.
ilEventParticipants::register | ( | int | $a_usr_id | ) |
Definition at line 381 of file class.ilEventParticipants.php.
References _register(), and getEventId().
ilEventParticipants::setComment | ( | string | $a_comment | ) |
Definition at line 75 of file class.ilEventParticipants.php.
References ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
ilEventParticipants::setContact | ( | bool | $a_status | ) |
Definition at line 125 of file class.ilEventParticipants.php.
References ILIAS\Repository\int().
ilEventParticipants::setEventId | ( | int | $a_event_id | ) |
Definition at line 120 of file class.ilEventParticipants.php.
ilEventParticipants::setExcused | ( | bool | $a_stat | ) |
Definition at line 105 of file class.ilEventParticipants.php.
ilEventParticipants::setMark | ( | string | $a_mark | ) |
Definition at line 65 of file class.ilEventParticipants.php.
ilEventParticipants::setNotificationEnabled | ( | bool | $value | ) |
Definition at line 140 of file class.ilEventParticipants.php.
ilEventParticipants::setParticipated | ( | bool | $a_status | ) |
Definition at line 85 of file class.ilEventParticipants.php.
ilEventParticipants::setParticipatedParticipants | ( | array | $participants_participated | ) |
Definition at line 145 of file class.ilEventParticipants.php.
References $participants_participated.
ilEventParticipants::setRegistered | ( | bool | $a_status | ) |
Definition at line 95 of file class.ilEventParticipants.php.
ilEventParticipants::setRegisteredParticipants | ( | array | $registered_participants | ) |
Definition at line 153 of file class.ilEventParticipants.php.
ilEventParticipants::setUserId | ( | int | $a_usr_id | ) |
Definition at line 55 of file class.ilEventParticipants.php.
ilEventParticipants::unregister | ( | int | $a_usr_id | ) |
Definition at line 417 of file class.ilEventParticipants.php.
References getEventId().
ilEventParticipants::updateExcusedForUser | ( | int | $a_usr_id, |
bool | $a_status | ||
) |
Definition at line 162 of file class.ilEventParticipants.php.
References ilDBConstants\T_INTEGER.
Referenced by ilObjSessionGUI\registerObject(), and ilObjSessionGUI\unregisterObject().
ilEventParticipants::updateParticipation | ( | int | $a_usr_id, |
bool | $a_status | ||
) |
Definition at line 246 of file class.ilEventParticipants.php.
References getEventId().
ilEventParticipants::updateUser | ( | ) |
Definition at line 184 of file class.ilEventParticipants.php.
References $db, $ilDB, $res, ilLPStatusWrapper\_updateStatus(), getComment(), getContact(), getEventId(), getExcused(), getMark(), getParticipated(), getRegistered(), getUserId(), and isNotificationEnabled().
|
protected |
Definition at line 40 of file class.ilEventParticipants.php.
Referenced by getComment().
|
protected |
Definition at line 32 of file class.ilEventParticipants.php.
Referenced by getContact().
|
protected |
Definition at line 30 of file class.ilEventParticipants.php.
Referenced by __read(), and updateUser().
|
protected |
Definition at line 36 of file class.ilEventParticipants.php.
Referenced by getEventId().
|
protected |
Definition at line 35 of file class.ilEventParticipants.php.
Referenced by getExcused().
|
protected |
Definition at line 39 of file class.ilEventParticipants.php.
Referenced by getMark().
|
protected |
Definition at line 37 of file class.ilEventParticipants.php.
Referenced by isNotificationEnabled().
|
protected |
Definition at line 41 of file class.ilEventParticipants.php.
Referenced by getParticipants().
|
protected |
Definition at line 43 of file class.ilEventParticipants.php.
Referenced by getParticipatedParticipants(), and setParticipatedParticipants().
|
protected |
Definition at line 42 of file class.ilEventParticipants.php.
Referenced by getRegisteredParticipants().
|
protected |
Definition at line 34 of file class.ilEventParticipants.php.
Referenced by getParticipated().
|
protected |
Definition at line 33 of file class.ilEventParticipants.php.
Referenced by getRegistered().
|
protected |
Definition at line 31 of file class.ilEventParticipants.php.
Referenced by __read().
|
protected |
Definition at line 38 of file class.ilEventParticipants.php.
Referenced by getUserId().