ILIAS  release_8 Revision v8.24
class.ilUserActionProvider.php
Go to the documentation of this file.
1<?php
2
24{
25 protected int $user_id;
26 protected ilLanguage $lng;
27 protected ilDBInterface $db;
28
29 public function __construct()
30 {
31 global $DIC;
32
33 $this->lng = $DIC->language();
34 $this->db = $DIC->database();
35 }
36
37 public function setUserId(int $a_val): void
38 {
39 $this->user_id = $a_val;
40 }
41
42 public function getUserId(): int
43 {
44 return $this->user_id;
45 }
46
50 abstract public function collectActionsForTargetUser(int $a_target_user): ilUserActionCollection;
51
55 abstract public function getComponentId(): string;
56
60 abstract public function getActionTypes(): array;
61
62 public function getJsScripts(string $a_action_type): array
63 {
64 return array();
65 }
66}
language handling
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getJsScripts(string $a_action_type)
collectActionsForTargetUser(int $a_target_user)
Collect actions for a target user.
global $DIC
Definition: feed.php:28
Interface ilDBInterface.