ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilNewsServiceDependencies.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11
class
ilNewsServiceDependencies
12
{
16
protected
$lng
;
17
21
protected
$settings
;
22
26
protected
$obj_adapter
;
27
31
protected
$user
;
32
37
public
function
__construct
(
ilLanguage
$lng
,
ilSetting
$settings
,
ilObjUser
$user
,
ilNewsObjectAdapterInterface
$obj_adapter
)
38
{
39
$this->lng =
$lng
;
40
$this->
settings
=
$settings
;
41
$this->
user
=
$user
;
42
$this->obj_adapter =
$obj_adapter
;
43
}
44
50
public
function
obj
()
51
{
52
return
$this->obj_adapter
;
53
}
54
55
61
public
function
language
() :
ilLanguage
62
{
63
return
$this->lng
;
64
}
65
71
public
function
settings
() :
ilSetting
72
{
73
return
$this->settings
;
74
}
75
81
public
function
user
() :
ilObjUser
82
{
83
return
$this->user
;
84
}
85
}
ilNewsServiceDependencies\$obj_adapter
$obj_adapter
Definition:
class.ilNewsServiceDependencies.php:26
ilNewsServiceDependencies\settings
settings()
Get settings object.
Definition:
class.ilNewsServiceDependencies.php:71
ilNewsObjectAdapterInterface
Interface for ilObject dependency.
Definition:
interface.ilNewsObjectAdapterInterface.php:11
ilNewsServiceDependencies\$lng
$lng
Definition:
class.ilNewsServiceDependencies.php:16
ilNewsServiceDependencies\language
language()
Get language object.
Definition:
class.ilNewsServiceDependencies.php:61
ilNewsServiceDependencies\$user
$user
Definition:
class.ilNewsServiceDependencies.php:31
ilNewsServiceDependencies\obj
obj()
Get object adapter.
Definition:
class.ilNewsServiceDependencies.php:50
ilNewsServiceDependencies\__construct
__construct(ilLanguage $lng, ilSetting $settings, ilObjUser $user, ilNewsObjectAdapterInterface $obj_adapter)
Constructor.
Definition:
class.ilNewsServiceDependencies.php:37
ilNewsServiceDependencies
News service dependencies.
Definition:
class.ilNewsServiceDependencies.php:11
ilNewsServiceDependencies\user
user()
Get current user.
Definition:
class.ilNewsServiceDependencies.php:81
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
php
ilObjUser
Definition:
class.ilObjUser.php:25
ilNewsServiceDependencies\$settings
$settings
Definition:
class.ilNewsServiceDependencies.php:21
ilSetting
Services
News
classes
class.ilNewsServiceDependencies.php
Generated on Thu Jan 16 2025 19:02:26 for ILIAS by
1.8.13 (using
Doxyfile
)