ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilUserActionProvider.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
12 abstract class ilUserActionProvider
13 {
17  protected $user_id;
18 
22  protected $lng;
23 
27  protected $db;
28 
32  function __construct()
33  {
34  global $DIC;
35 
36  $this->lng = $DIC->language();
37  $this->db = $DIC->database();
38  }
39 
45  function setUserId($a_val)
46  {
47  $this->user_id = $a_val;
48  }
49 
55  function getUserId()
56  {
57  return $this->user_id;
58  }
59 
66  abstract function collectActionsForTargetUser($a_target_user);
67 
71  abstract function getComponentId();
72 
76  abstract function getActionTypes();
77 
78 }
79 
80 ?>
A class that provides a collection of actions on users.
collectActionsForTargetUser($a_target_user)
Collect actions for a target user.
setUserId($a_val)
Set user id.
global $DIC