ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilNewsContext Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilNewsContext:

Public Member Functions

 __construct (int $obj_id, string $obj_type, int $sub_id, string $sub_type)
 
 getObjId ()
 
 getObjType ()
 
 getSubId ()
 
 getSubType ()
 

Protected Attributes

int $obj_id
 
string $obj_type
 
int $sub_id
 
string $sub_type
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

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

Definition at line 22 of file class.ilNewsContext.php.

Constructor & Destructor Documentation

◆ __construct()

ilNewsContext::__construct ( int  $obj_id,
string  $obj_type,
int  $sub_id,
string  $sub_type 
)

Definition at line 29 of file class.ilNewsContext.php.

References $obj_id, $obj_type, $sub_id, and $sub_type.

30  {
31  $this->obj_id = $obj_id;
32  $this->obj_type = $obj_type;
33  $this->sub_id = $sub_id;
34  $this->sub_type = $sub_type;
35  }

Member Function Documentation

◆ getObjId()

ilNewsContext::getObjId ( )

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

References $obj_id.

Referenced by ILIAS\News\Items\NewsItemManager\getNewsOfContext(), and ILIAS\News\Service\item().

37  : int
38  {
39  return $this->obj_id;
40  }
+ Here is the caller graph for this function:

◆ getObjType()

ilNewsContext::getObjType ( )

Definition at line 42 of file class.ilNewsContext.php.

References $obj_type.

Referenced by ILIAS\News\Items\NewsItemManager\getNewsOfContext(), and ILIAS\News\Service\item().

42  : string
43  {
44  return $this->obj_type;
45  }
+ Here is the caller graph for this function:

◆ getSubId()

ilNewsContext::getSubId ( )

Definition at line 47 of file class.ilNewsContext.php.

References $sub_id.

Referenced by ILIAS\News\Items\NewsItemManager\getNewsOfContext(), and ILIAS\News\Service\item().

47  : int
48  {
49  return $this->sub_id;
50  }
+ Here is the caller graph for this function:

◆ getSubType()

ilNewsContext::getSubType ( )

Definition at line 52 of file class.ilNewsContext.php.

References $sub_type.

Referenced by ILIAS\News\Items\NewsItemManager\getNewsOfContext(), and ILIAS\News\Service\item().

52  : string
53  {
54  return $this->sub_type;
55  }
+ Here is the caller graph for this function:

Field Documentation

◆ $obj_id

int ilNewsContext::$obj_id
protected

Definition at line 24 of file class.ilNewsContext.php.

Referenced by __construct(), and getObjId().

◆ $obj_type

string ilNewsContext::$obj_type
protected

Definition at line 25 of file class.ilNewsContext.php.

Referenced by __construct(), and getObjType().

◆ $sub_id

int ilNewsContext::$sub_id
protected

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

Referenced by __construct(), and getSubId().

◆ $sub_type

string ilNewsContext::$sub_type
protected

Definition at line 27 of file class.ilNewsContext.php.

Referenced by __construct(), and getSubType().


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