ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
13{
17 protected $user_id;
18
22 protected $lng;
23
27 protected $db;
28
32 public function __construct()
33 {
34 global $DIC;
35
36 $this->lng = $DIC->language();
37 $this->db = $DIC->database();
38 }
39
45 public function setUserId($a_val)
46 {
47 $this->user_id = $a_val;
48 }
49
55 public function getUserId()
56 {
57 return $this->user_id;
58 }
59
66 abstract public function collectActionsForTargetUser($a_target_user);
67
71 abstract public function getComponentId();
72
76 abstract public function getActionTypes();
77
84 public function getJsScripts($a_action_type)
85 {
86 return array();
87 }
88}
An exception for terminatinating execution or to throw for unit testing.
A class that provides a collection of actions on users.
getJsScripts($a_action_type)
Get js scripts.
collectActionsForTargetUser($a_target_user)
Collect actions for a target user.
global $DIC
Definition: saml.php:7