ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilNewsServiceDependencies Class Reference

News service dependencies. More...

+ Collaboration diagram for ilNewsServiceDependencies:

Public Member Functions

 __construct (ilLanguage $lng, ilSetting $settings, ilObjUser $user, ilNewsObjectAdapterInterface $obj_adapter)
 Constructor. More...
 
 obj ()
 Get object adapter. More...
 
 language ()
 Get language object. More...
 
 settings ()
 Get settings object. More...
 
 user ()
 Get current user. More...
 

Protected Attributes

 $lng
 
 $settings
 
 $obj_adapter
 
 $user
 

Detailed Description

News service dependencies.

Author
killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 11 of file class.ilNewsServiceDependencies.php.

Constructor & Destructor Documentation

◆ __construct()

ilNewsServiceDependencies::__construct ( ilLanguage  $lng,
ilSetting  $settings,
ilObjUser  $user,
ilNewsObjectAdapterInterface  $obj_adapter 
)

Constructor.

Parameters
ilLanguage$lng

Definition at line 37 of file class.ilNewsServiceDependencies.php.

References $lng, $obj_adapter, $settings, $user, settings(), and user().

+ Here is the call graph for this function:

Member Function Documentation

◆ language()

ilNewsServiceDependencies::language ( )

Get language object.

Returns
ilLanguage

Definition at line 61 of file class.ilNewsServiceDependencies.php.

References $lng.

61  : ilLanguage
62  {
63  return $this->lng;
64  }
language handling

◆ obj()

ilNewsServiceDependencies::obj ( )

Get object adapter.

Returns
ilNewsObjectAdapterInterface

Definition at line 50 of file class.ilNewsServiceDependencies.php.

References $obj_adapter.

◆ settings()

ilNewsServiceDependencies::settings ( )

Get settings object.

Returns
ilSetting

Definition at line 71 of file class.ilNewsServiceDependencies.php.

References $settings.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ user()

ilNewsServiceDependencies::user ( )

Get current user.

Returns
ilObjUser

Definition at line 81 of file class.ilNewsServiceDependencies.php.

References $user.

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $lng

ilNewsServiceDependencies::$lng
protected

Definition at line 16 of file class.ilNewsServiceDependencies.php.

Referenced by __construct(), and language().

◆ $obj_adapter

ilNewsServiceDependencies::$obj_adapter
protected

Definition at line 26 of file class.ilNewsServiceDependencies.php.

Referenced by __construct(), and obj().

◆ $settings

ilNewsServiceDependencies::$settings
protected

Definition at line 21 of file class.ilNewsServiceDependencies.php.

Referenced by __construct(), and settings().

◆ $user

ilNewsServiceDependencies::$user
protected

Definition at line 31 of file class.ilNewsServiceDependencies.php.

Referenced by __construct(), and user().


The documentation for this class was generated from the following file: