ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilNewsContext Class Reference
+ Collaboration diagram for ilNewsContext:

Public Member Functions

 __construct (int $obj_id, string $obj_type, int $sub_id, string $sub_type)
 Constructor. More...
 
 getObjId ()
 Get Obj Id. More...
 
 getObjType ()
 Get Obj Type. More...
 
 getSubId ()
 Get Sub Obj Id. More...
 
 getSubType ()
 Get Sub Obj Type. More...
 

Protected Attributes

 $obj_id
 
 $obj_type
 
 $sub_id
 
 $sub_type
 

Detailed Description

Author
.de

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

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

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

37  {
38  $this->obj_id = $obj_id;
39  $this->obj_type = $obj_type;
40  $this->sub_id = $sub_id;
41  $this->sub_type = $sub_type;
42  }

Member Function Documentation

◆ getObjId()

ilNewsContext::getObjId ( )

Get Obj Id.

Returns
int

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

References $obj_id.

Referenced by ilNewsData\getNewsOfContext(), and ilNewsService\item().

49  : int
50  {
51  return $this->obj_id;
52  }
+ Here is the caller graph for this function:

◆ getObjType()

ilNewsContext::getObjType ( )

Get Obj Type.

Returns
string

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

References $obj_type.

Referenced by ilNewsData\getNewsOfContext(), and ilNewsService\item().

59  : string
60  {
61  return $this->obj_type;
62  }
+ Here is the caller graph for this function:

◆ getSubId()

ilNewsContext::getSubId ( )

Get Sub Obj Id.

Returns
int

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

References $sub_id.

Referenced by ilNewsData\getNewsOfContext(), and ilNewsService\item().

69  : int
70  {
71  return $this->sub_id;
72  }
+ Here is the caller graph for this function:

◆ getSubType()

ilNewsContext::getSubType ( )

Get Sub Obj Type.

Returns
string

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

References $sub_type.

Referenced by ilNewsData\getNewsOfContext(), and ilNewsService\item().

79  : string
80  {
81  return $this->sub_type;
82  }
+ Here is the caller graph for this function:

Field Documentation

◆ $obj_id

ilNewsContext::$obj_id
protected

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

Referenced by __construct(), and getObjId().

◆ $obj_type

ilNewsContext::$obj_type
protected

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

Referenced by __construct(), and getObjType().

◆ $sub_id

ilNewsContext::$sub_id
protected

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

Referenced by __construct(), and getSubId().

◆ $sub_type

ilNewsContext::$sub_type
protected

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

Referenced by __construct(), and getSubType().


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