ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilEventParticipants Class Reference

class ilEventMembers More...

+ Collaboration diagram for ilEventParticipants:

Public Member Functions

 __construct ($a_event_id)
 Constructor. More...
 
 setUserId ($a_usr_id)
 
 getUserId ()
 
 setMark ($a_mark)
 
 getMark ()
 
 setComment ($a_comment)
 
 getComment ()
 
 setParticipated ($a_status)
 
 getParticipated ()
 
 setRegistered ($a_status)
 
 getRegistered ()
 
 setContact ($a_status)
 
 getContact ()
 
 updateUser ()
 
 getUser ($a_usr_id)
 
 getParticipants ()
 
 isRegistered ($a_usr_id)
 
 hasParticipated ($a_usr_id)
 
 isContact ($a_usr_id)
 Check if user is contact. More...
 
 updateParticipation ($a_usr_id, $a_status)
 
 register ($a_usr_id)
 
 unregister ($a_usr_id)
 
 _lookupComment ($a_event_id, $a_usr_id)
 
 getEventId ()
 
 setEventId ($a_event_id)
 
 __read ()
 

Static Public Member Functions

static _updateParticipation ($a_usr_id, $a_event_id, $a_status)
 
static _getRegistered ($a_event_id)
 
static _getParticipated ($a_event_id)
 
static _hasParticipated ($a_usr_id, $a_event_id)
 
static _isRegistered ($a_usr_id, $a_event_id)
 
static _register ($a_usr_id, $a_event_id)
 
static _unregister ($a_usr_id, $a_event_id)
 
static _lookupMark ($a_event_id, $a_usr_id)
 
static _deleteByEvent ($a_event_id)
 
static _deleteByUser ($a_usr_id)
 

Data Fields

 $ilErr
 
 $ilDB
 
 $tree
 
 $lng
 
 $event_id = null
 

Static Protected Member Functions

static handleAutoFill ($a_obj_id)
 Trigger auto-fill from waiting list. More...
 

Protected Attributes

 $contact = 0
 
 $registered = array()
 
 $participated = array()
 
 $contacts = []
 

Detailed Description

class ilEventMembers

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
Id
class.ilEventParticipants.php 15697 2008-01-08 20:04:33Z hschottm

Definition at line 13 of file class.ilEventParticipants.php.

Constructor & Destructor Documentation

◆ __construct()

ilEventParticipants::__construct (   $a_event_id)

Constructor.

Parameters
int$a_event_id

Definition at line 36 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $ilErr, $lng, $tree, and __read().

37  {
38  global $DIC;
39 
40  $ilErr = $DIC['ilErr'];
41  $ilDB = $DIC['ilDB'];
42  $lng = $DIC['lng'];
43  $tree = $DIC['tree'];
44 
45  $this->ilErr = $ilErr;
46  $this->db = $ilDB;
47  $this->lng = $lng;
48 
49  $this->event_id = $a_event_id;
50  $this->__read();
51  }
global $DIC
Definition: saml.php:7
+ Here is the call graph for this function:

Member Function Documentation

◆ __read()

ilEventParticipants::__read ( )

Definition at line 415 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and getEventId().

Referenced by __construct().

416  {
417  global $DIC;
418 
419  $ilDB = $DIC['ilDB'];
420 
421  $query = "SELECT * FROM event_participants " .
422  "WHERE event_id = " . $ilDB->quote($this->getEventId()) . " ";
423  $res = $this->db->query($query);
424  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
425  $this->participants[$row->usr_id]['usr_id'] = $row->usr_id;
426  $this->participants[$row->usr_id]['registered'] = $row->registered;
427  $this->participants[$row->usr_id]['participated'] = $row->participated;
428  $this->participants[$row->usr_id]['contact'] = $row->contact;
429 
430  $lp_mark = new ilLPMarks($this->getEventId(), $row->usr_id);
431  $this->participants[$row->usr_id]['mark'] = $lp_mark->getMark();
432  $this->participants[$row->usr_id]['comment'] = $lp_mark->getComment();
433 
434 
435  if ($row->registered) {
436  $this->registered[] = $row->usr_id;
437  }
438  if ($row->participated) {
439  $this->participated[] = $row->usr_id;
440  }
441  }
442  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
$row
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _deleteByEvent()

static ilEventParticipants::_deleteByEvent (   $a_event_id)
static

Definition at line 386 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, and ilLPMarks\deleteObject().

Referenced by ilObjSession\delete().

387  {
388  global $DIC;
389 
390  $ilDB = $DIC['ilDB'];
391 
392  $query = "DELETE FROM event_participants " .
393  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " ";
394  $res = $ilDB->manipulate($query);
395 
396  include_once "Services/Tracking/classes/class.ilLPMarks.php";
397  ilLPMarks::deleteObject($a_event_id);
398 
399  return true;
400  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
static deleteObject($a_obj_id)
Delete object.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _deleteByUser()

static ilEventParticipants::_deleteByUser (   $a_usr_id)
static

Definition at line 401 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, and $res.

Referenced by ilObjUser\delete().

402  {
403  global $DIC;
404 
405  $ilDB = $DIC['ilDB'];
406 
407  $query = "DELETE FROM event_participants " .
408  "WHERE usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
409  $res = $ilDB->manipulate($query);
410  return true;
411  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
+ Here is the caller graph for this function:

◆ _getParticipated()

static ilEventParticipants::_getParticipated (   $a_event_id)
static

Definition at line 236 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.

Referenced by ilLPStatusEvent\_getStatusInfo().

237  {
238  global $DIC;
239 
240  $ilDB = $DIC['ilDB'];
241 
242  $query = "SELECT * FROM event_participants " .
243  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
244  "AND participated = 1";
245  $res = $ilDB->query($query);
246  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
247  $user_ids[] = $row->usr_id;
248  }
249  return $user_ids ? $user_ids : array();
250  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
$row
+ Here is the caller graph for this function:

◆ _getRegistered()

static ilEventParticipants::_getRegistered (   $a_event_id)
static

Definition at line 220 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.

Referenced by ilLPStatusEvent\_getStatusInfo().

221  {
222  global $DIC;
223 
224  $ilDB = $DIC['ilDB'];
225 
226  $query = "SELECT * FROM event_participants " .
227  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
228  "AND registered = " . $ilDB->quote(1, 'integer');
229  $res = $ilDB->query($query);
230  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
231  $user_ids[] = $row->usr_id;
232  }
233  return $user_ids ? $user_ids : array();
234  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
$row
+ Here is the caller graph for this function:

◆ _hasParticipated()

static ilEventParticipants::_hasParticipated (   $a_usr_id,
  $a_event_id 
)
static

Definition at line 252 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, and $res.

Referenced by ilLPStatusEvent\determineStatus().

253  {
254  global $DIC;
255 
256  $ilDB = $DIC['ilDB'];
257 
258  $query = "SELECT participated FROM event_participants " .
259  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
260  "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
261  $res = $ilDB->query($query);
262  if ($rec = $ilDB->fetchAssoc($res)) {
263  return (bool) $rec["participated"];
264  }
265  return false;
266  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
+ Here is the caller graph for this function:

◆ _isRegistered()

static ilEventParticipants::_isRegistered (   $a_usr_id,
  $a_event_id 
)
static

Definition at line 268 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.

Referenced by ilSessionParticipants\_isParticipant(), ilLPStatusEvent\determineStatus(), ilObjSessionGUI\joinObject(), and ilObjSessionGUI\showJoinRequestButton().

269  {
270  global $DIC;
271 
272  $ilDB = $DIC['ilDB'];
273 
274  $query = "SELECT * FROM event_participants " .
275  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
276  "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
277  $res = $ilDB->query($query);
278  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
279  return (bool) $row->registered;
280  }
281  return false;
282  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
$row
+ Here is the caller graph for this function:

◆ _lookupComment()

ilEventParticipants::_lookupComment (   $a_event_id,
  $a_usr_id 
)

Definition at line 369 of file class.ilEventParticipants.php.

370  {
371  include_once "Services/Tracking/classes/class.ilLPMarks.php";
372  $lp_mark = new ilLPMarks($a_event_id, $a_usr_id);
373  return $lp_mark->getComment();
374  }

◆ _lookupMark()

static ilEventParticipants::_lookupMark (   $a_event_id,
  $a_usr_id 
)
static

Definition at line 362 of file class.ilEventParticipants.php.

363  {
364  include_once "Services/Tracking/classes/class.ilLPMarks.php";
365  $lp_mark = new ilLPMarks($a_event_id, $a_usr_id);
366  return $lp_mark->getMark();
367  }

◆ _register()

static ilEventParticipants::_register (   $a_usr_id,
  $a_event_id 
)
static

Definition at line 284 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, and ilLPStatusWrapper\_updateStatus().

Referenced by ilObjSessionGUI\joinObject(), and register().

285  {
286  global $DIC;
287 
288  $ilDB = $DIC['ilDB'];
289 
290  $query = "SELECT * FROM event_participants " .
291  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
292  "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
293  $res = $ilDB->query($query);
294  if ($res->numRows()) {
295  $query = "UPDATE event_participants " .
296  "SET registered = '1' " .
297  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
298  "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
299  $res = $ilDB->manipulate($query);
300  } else {
301  $query = "INSERT INTO event_participants (registered,participated,event_id,usr_id) " .
302  "VALUES( " .
303  "1, " .
304  "0, " .
305  $ilDB->quote($a_event_id, 'integer') . ", " .
306  $ilDB->quote($a_usr_id, 'integer') . " " .
307  ")";
308  $res = $ilDB->manipulate($query);
309  }
310 
311  // refresh learning progress status after updating participant
312  include_once("./Services/Tracking/classes/class.ilLPStatusWrapper.php");
313  ilLPStatusWrapper::_updateStatus($a_event_id, $a_usr_id);
314 
315  return true;
316  }
global $DIC
Definition: saml.php:7
static _updateStatus($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_force_raise=false)
Update status.
foreach($_POST as $key=> $value) $res
$query
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _unregister()

static ilEventParticipants::_unregister (   $a_usr_id,
  $a_event_id 
)
static

Definition at line 322 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, and ilLPStatusWrapper\_updateStatus().

Referenced by ilObjSessionGUI\joinObject(), and unregister().

323  {
324  global $DIC;
325 
326  $ilDB = $DIC['ilDB'];
327 
328  $query = "SELECT * FROM event_participants " .
329  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
330  "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
331  $res = $ilDB->query($query);
332  if ($res->numRows()) {
333  $query = "UPDATE event_participants " .
334  "SET registered = 0 " .
335  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
336  "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
337  $res = $ilDB->manipulate($query);
338  } else {
339  $query = "INSERT INTO event_participants (registered,participated,event_id,usr_id) " .
340  "VALUES( " .
341  "0, " .
342  "0, " .
343  $ilDB->quote($a_event_id, 'integer') . ", " .
344  $ilDB->quote($a_usr_id, 'integer') . " " .
345  ")";
346  $res = $ilDB->manipulate($query);
347  }
348 
349  // refresh learning progress status after updating participant
350  include_once("./Services/Tracking/classes/class.ilLPStatusWrapper.php");
351  ilLPStatusWrapper::_updateStatus($a_event_id, $a_usr_id);
352 
353  self::handleAutoFill($a_event_id);
354 
355  return true;
356  }
global $DIC
Definition: saml.php:7
static _updateStatus($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_force_raise=false)
Update status.
foreach($_POST as $key=> $value) $res
$query
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _updateParticipation()

static ilEventParticipants::_updateParticipation (   $a_usr_id,
  $a_event_id,
  $a_status 
)
static

Definition at line 186 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, and ilLPStatusWrapper\_updateStatus().

Referenced by updateParticipation().

187  {
188  global $DIC;
189 
190  $ilDB = $DIC['ilDB'];
191 
192  $query = "SELECT * FROM event_participants " .
193  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
194  "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
195  $res = $ilDB->query($query);
196  if ($res->numRows()) {
197  $query = "UPDATE event_participants " .
198  "SET participated = " . $ilDB->quote($a_status, 'integer') . " " .
199  "WHERE event_id = " . $ilDB->quote($a_event_id, 'integer') . " " .
200  "AND usr_id = " . $ilDB->quote($a_usr_id, 'integer') . " ";
201  $res = $ilDB->manipulate($query);
202  } else {
203  $query = "INSERT INTO event_participants (registered,participated,event_id,usr_id) " .
204  "VALUES( " .
205  $ilDB->quote(0, 'integer') . ", " .
206  $ilDB->quote($a_status, 'integer') . ", " .
207  $ilDB->quote($a_event_id, 'integer') . ", " .
208  $ilDB->quote($a_usr_id, 'integer') . " " .
209  ")";
210  $res = $ilDB->manipulate($query);
211  }
212 
213  // refresh learning progress status after updating participant
214  include_once("./Services/Tracking/classes/class.ilLPStatusWrapper.php");
215  ilLPStatusWrapper::_updateStatus($a_event_id, $a_usr_id);
216 
217  return true;
218  }
global $DIC
Definition: saml.php:7
static _updateStatus($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_force_raise=false)
Update status.
foreach($_POST as $key=> $value) $res
$query
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getComment()

ilEventParticipants::getComment ( )

Definition at line 73 of file class.ilEventParticipants.php.

References $comment.

Referenced by updateUser().

74  {
75  return $this->comment;
76  }
$comment
Definition: buildRTE.php:83
+ Here is the caller graph for this function:

◆ getContact()

ilEventParticipants::getContact ( )
Returns
int

Definition at line 105 of file class.ilEventParticipants.php.

References $contact.

Referenced by updateUser().

106  {
107  return $this->contact;
108  }
+ Here is the caller graph for this function:

◆ getEventId()

ilEventParticipants::getEventId ( )

Definition at line 377 of file class.ilEventParticipants.php.

References $event_id.

Referenced by __read(), register(), unregister(), updateParticipation(), and updateUser().

378  {
379  return $this->event_id;
380  }
+ Here is the caller graph for this function:

◆ getMark()

ilEventParticipants::getMark ( )

Definition at line 65 of file class.ilEventParticipants.php.

Referenced by updateUser().

66  {
67  return $this->mark;
68  }
+ Here is the caller graph for this function:

◆ getParticipants()

ilEventParticipants::getParticipants ( )

Definition at line 154 of file class.ilEventParticipants.php.

155  {
156  return $this->participants ? $this->participants : array();
157  }

◆ getParticipated()

ilEventParticipants::getParticipated ( )

Definition at line 81 of file class.ilEventParticipants.php.

References $participated.

Referenced by updateUser().

+ Here is the caller graph for this function:

◆ getRegistered()

ilEventParticipants::getRegistered ( )

Definition at line 89 of file class.ilEventParticipants.php.

References $registered.

Referenced by updateUser().

+ Here is the caller graph for this function:

◆ getUser()

ilEventParticipants::getUser (   $a_usr_id)

Definition at line 149 of file class.ilEventParticipants.php.

150  {
151  return $this->participants[$a_usr_id] ? $this->participants[$a_usr_id] : array();
152  }

◆ getUserId()

ilEventParticipants::getUserId ( )

Definition at line 57 of file class.ilEventParticipants.php.

Referenced by updateUser().

58  {
59  return $this->user_id;
60  }
+ Here is the caller graph for this function:

◆ handleAutoFill()

static ilEventParticipants::handleAutoFill (   $a_obj_id)
staticprotected

Trigger auto-fill from waiting list.

Parameters
int$a_obj_id

Definition at line 449 of file class.ilEventParticipants.php.

References $sess.

450  {
451  $sess = new ilObjSession($a_obj_id, false);
452  $sess->handleAutoFill();
453  }

◆ hasParticipated()

ilEventParticipants::hasParticipated (   $a_usr_id)

Definition at line 164 of file class.ilEventParticipants.php.

165  {
166  return $this->participants[$a_usr_id]['participated'] ? true : false;
167  }

◆ isContact()

ilEventParticipants::isContact (   $a_usr_id)

Check if user is contact.

Parameters
$a_usr_id
Returns
bool

Definition at line 175 of file class.ilEventParticipants.php.

176  {
177  return $this->participants[$a_usr_id]['contact'] ? true : false;
178  }

◆ isRegistered()

ilEventParticipants::isRegistered (   $a_usr_id)

Definition at line 159 of file class.ilEventParticipants.php.

160  {
161  return $this->participants[$a_usr_id]['registered'] ? true : false;
162  }

◆ register()

ilEventParticipants::register (   $a_usr_id)

Definition at line 317 of file class.ilEventParticipants.php.

References _register(), and getEventId().

318  {
319  return ilEventParticipants::_register($a_usr_id, $this->getEventId());
320  }
static _register($a_usr_id, $a_event_id)
+ Here is the call graph for this function:

◆ setComment()

ilEventParticipants::setComment (   $a_comment)

Definition at line 69 of file class.ilEventParticipants.php.

References comment().

70  {
71  $this->comment = $a_comment;
72  }
comment()
Definition: comment.php:2
+ Here is the call graph for this function:

◆ setContact()

ilEventParticipants::setContact (   $a_status)
Parameters
bool$a_status

Definition at line 97 of file class.ilEventParticipants.php.

98  {
99  $this->contact = (int) $a_status;
100  }

◆ setEventId()

ilEventParticipants::setEventId (   $a_event_id)

Definition at line 381 of file class.ilEventParticipants.php.

382  {
383  $this->event_id = $a_event_id;
384  }

◆ setMark()

ilEventParticipants::setMark (   $a_mark)

Definition at line 61 of file class.ilEventParticipants.php.

62  {
63  $this->mark = $a_mark;
64  }

◆ setParticipated()

ilEventParticipants::setParticipated (   $a_status)

Definition at line 77 of file class.ilEventParticipants.php.

78  {
79  $this->participated = $a_status;
80  }

◆ setRegistered()

ilEventParticipants::setRegistered (   $a_status)

Definition at line 85 of file class.ilEventParticipants.php.

86  {
87  $this->registered = $a_status;
88  }

◆ setUserId()

ilEventParticipants::setUserId (   $a_usr_id)

Definition at line 53 of file class.ilEventParticipants.php.

54  {
55  $this->user_id = $a_usr_id;
56  }

◆ unregister()

ilEventParticipants::unregister (   $a_usr_id)

Definition at line 357 of file class.ilEventParticipants.php.

References _unregister(), and getEventId().

358  {
359  return ilEventParticipants::_unregister($a_usr_id, $this->getEventId());
360  }
static _unregister($a_usr_id, $a_event_id)
+ Here is the call graph for this function:

◆ updateParticipation()

ilEventParticipants::updateParticipation (   $a_usr_id,
  $a_status 
)

Definition at line 181 of file class.ilEventParticipants.php.

References _updateParticipation(), and getEventId().

182  {
183  ilEventParticipants::_updateParticipation($a_usr_id, $this->getEventId(), $a_status);
184  }
static _updateParticipation($a_usr_id, $a_event_id, $a_status)
+ Here is the call graph for this function:

◆ updateUser()

ilEventParticipants::updateUser ( )

Definition at line 111 of file class.ilEventParticipants.php.

References $DIC, $ilDB, $query, $res, ilLPStatusWrapper\_updateStatus(), getComment(), getContact(), getEventId(), getMark(), getParticipated(), getRegistered(), and getUserId().

112  {
113  global $DIC;
114 
115  $ilDB = $DIC['ilDB'];
116 
117  $query = "DELETE FROM event_participants " .
118  "WHERE event_id = " . $ilDB->quote($this->getEventId(), 'integer') . " " .
119  "AND usr_id = " . $ilDB->quote($this->getUserId(), 'integer') . " ";
120  $res = $ilDB->manipulate($query);
121 
122  $query = "INSERT INTO event_participants (event_id,usr_id,registered,participated,contact " .
123  ") VALUES( " .
124  $ilDB->quote($this->getEventId(), 'integer') . ", " .
125  $ilDB->quote($this->getUserId(), 'integer') . ", " .
126  $ilDB->quote($this->getRegistered(), 'integer') . ", " .
127  $ilDB->quote($this->getParticipated(), 'integer') . ', ' .
128  $ilDB->quote($this->getContact(), 'integer') . ' ' .
129  ")";
130  $res = $ilDB->manipulate($query);
131 
132  include_once "Services/Tracking/classes/class.ilLPMarks.php";
133  $lp_mark = new ilLPMarks($this->getEventId(), $this->getUserId());
134  $lp_mark->setComment($this->getComment());
135  $lp_mark->setMark($this->getMark());
136  $lp_mark->update();
137 
138  // refresh learning progress status after updating participant
139  include_once("./Services/Tracking/classes/class.ilLPStatusWrapper.php");
141 
142  if (!$this->getRegistered()) {
143  self::handleAutoFill($this->getEventId());
144  }
145 
146  return true;
147  }
global $DIC
Definition: saml.php:7
static _updateStatus($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_force_raise=false)
Update status.
foreach($_POST as $key=> $value) $res
$query
+ Here is the call graph for this function:

Field Documentation

◆ $contact

ilEventParticipants::$contact = 0
protected

Definition at line 20 of file class.ilEventParticipants.php.

Referenced by getContact().

◆ $contacts

ilEventParticipants::$contacts = []
protected

Definition at line 28 of file class.ilEventParticipants.php.

◆ $event_id

ilEventParticipants::$event_id = null

Definition at line 30 of file class.ilEventParticipants.php.

Referenced by getEventId().

◆ $ilDB

◆ $ilErr

ilEventParticipants::$ilErr

Definition at line 15 of file class.ilEventParticipants.php.

Referenced by __construct().

◆ $lng

ilEventParticipants::$lng

Definition at line 18 of file class.ilEventParticipants.php.

Referenced by __construct().

◆ $participated

ilEventParticipants::$participated = array()
protected

Definition at line 23 of file class.ilEventParticipants.php.

Referenced by getParticipated().

◆ $registered

ilEventParticipants::$registered = array()
protected

Definition at line 22 of file class.ilEventParticipants.php.

Referenced by getRegistered().

◆ $tree

ilEventParticipants::$tree

Definition at line 17 of file class.ilEventParticipants.php.

Referenced by __construct().


The documentation for this class was generated from the following file: