ILIAS  release_8 Revision v8.24
class.ilNewsServiceDependencies.php
Go to the documentation of this file.
1<?php
2
24{
25 protected ilLanguage $lng;
28 protected ilObjUser $user;
29
30 public function __construct(
35 ) {
36 $this->lng = $lng;
37 $this->settings = $settings;
38 $this->user = $user;
39 $this->obj_adapter = $obj_adapter;
40 }
41
46 {
47 return $this->obj_adapter;
48 }
49
50 public function language(): ilLanguage
51 {
52 return $this->lng;
53 }
54
55 public function settings(): ilSetting
56 {
57 return $this->settings;
58 }
59
60 // Get current user
61 public function user(): ilObjUser
62 {
63 return $this->user;
64 }
65}
language handling
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilLanguage $lng, ilSetting $settings, ilObjUser $user, ilNewsObjectAdapterInterface $obj_adapter)
ilNewsObjectAdapterInterface $obj_adapter
User class.
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...