ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilNewsContext.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
ilNewsContext
12
{
16
protected
$obj_id
;
17
21
protected
$obj_type
;
22
26
protected
$sub_id
;
27
31
protected
$sub_type
;
32
36
public
function
__construct
(
int
$obj_id
,
string
$obj_type
,
int
$sub_id
,
string
$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
}
43
49
public
function
getObjId
() : int
50
{
51
return
$this->obj_id
;
52
}
53
59
public
function
getObjType
() : string
60
{
61
return
$this->obj_type
;
62
}
63
69
public
function
getSubId
() : int
70
{
71
return
$this->sub_id
;
72
}
73
79
public
function
getSubType
() : string
80
{
81
return
$this->sub_type
;
82
}
83
}
ilNewsContext
Definition:
class.ilNewsContext.php:11
ilNewsContext\$sub_id
$sub_id
Definition:
class.ilNewsContext.php:26
ilNewsContext\getObjId
getObjId()
Get Obj Id.
Definition:
class.ilNewsContext.php:49
ilNewsContext\$obj_type
$obj_type
Definition:
class.ilNewsContext.php:21
ilNewsContext\getSubId
getSubId()
Get Sub Obj Id.
Definition:
class.ilNewsContext.php:69
ilNewsContext\getObjType
getObjType()
Get Obj Type.
Definition:
class.ilNewsContext.php:59
ilNewsContext\$obj_id
$obj_id
Definition:
class.ilNewsContext.php:16
php
ilNewsContext\$sub_type
$sub_type
Definition:
class.ilNewsContext.php:31
ilNewsContext\getSubType
getSubType()
Get Sub Obj Type.
Definition:
class.ilNewsContext.php:79
ilNewsContext\__construct
__construct(int $obj_id, string $obj_type, int $sub_id, string $sub_type)
Constructor.
Definition:
class.ilNewsContext.php:36
Services
News
classes
class.ilNewsContext.php
Generated on Thu Jan 16 2025 19:02:26 for ILIAS by
1.8.13 (using
Doxyfile
)