ILIAS  release_7 Revision v7.30-3-g800a261c036
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
@leifos.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.

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 }

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

Member Function Documentation

◆ getObjId()

ilNewsContext::getObjId ( )

Get Obj Id.

Returns
int

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

49 : int
50 {
51 return $this->obj_id;
52 }

References $obj_id.

◆ getObjType()

ilNewsContext::getObjType ( )

Get Obj Type.

Returns
string

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

59 : string
60 {
61 return $this->obj_type;
62 }

References $obj_type.

◆ getSubId()

ilNewsContext::getSubId ( )

Get Sub Obj Id.

Returns
int

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

69 : int
70 {
71 return $this->sub_id;
72 }

References $sub_id.

◆ getSubType()

ilNewsContext::getSubType ( )

Get Sub Obj Type.

Returns
string

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

79 : string
80 {
81 return $this->sub_type;
82 }

References $sub_type.

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: