ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Notes\Context Class Reference
+ Collaboration diagram for ILIAS\Notes\Context:

Public Member Functions

 __construct (int $obj_id=0, int $sub_obj_id=0, string $type="", int $news_id=0, bool $in_repo=true)
 
 getObjId ()
 
 getSubObjId ()
 
 getNewsId ()
 
 getType ()
 
 getInRepository ()
 

Protected Attributes

int $obj_id = 0
 
int $sub_obj_id = 0
 
int $news_id = 0
 
string $type = ""
 
bool $in_repo = false
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Notes\Context::__construct ( int  $obj_id = 0,
int  $sub_obj_id = 0,
string  $type = "",
int  $news_id = 0,
bool  $in_repo = true 
)

Definition at line 35 of file class.Context.php.

41 {
42 $this->obj_id = $obj_id;
43 $this->sub_obj_id = $sub_obj_id;
44 $this->type = $type;
45 $this->news_id = $news_id;
46 $this->in_repo = $in_repo;
47 }

References ILIAS\Notes\Context\$in_repo, ILIAS\Notes\Context\$news_id, ILIAS\Notes\Context\$obj_id, ILIAS\Notes\Context\$sub_obj_id, and ILIAS\Notes\Context\$type.

Member Function Documentation

◆ getInRepository()

ILIAS\Notes\Context::getInRepository ( )

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

69 : bool
70 {
71 return $this->in_repo;
72 }

References ILIAS\Notes\Context\$in_repo.

◆ getNewsId()

ILIAS\Notes\Context::getNewsId ( )

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

59 : int
60 {
61 return $this->news_id;
62 }

References ILIAS\Notes\Context\$news_id.

◆ getObjId()

ILIAS\Notes\Context::getObjId ( )

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

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

References ILIAS\Notes\Context\$obj_id.

◆ getSubObjId()

ILIAS\Notes\Context::getSubObjId ( )

Definition at line 54 of file class.Context.php.

54 : int
55 {
56 return $this->sub_obj_id;
57 }

References ILIAS\Notes\Context\$sub_obj_id.

◆ getType()

ILIAS\Notes\Context::getType ( )

Definition at line 64 of file class.Context.php.

64 : string
65 {
66 return $this->type;
67 }

References ILIAS\Notes\Context\$type.

Field Documentation

◆ $in_repo

bool ILIAS\Notes\Context::$in_repo = false
protected

◆ $news_id

int ILIAS\Notes\Context::$news_id = 0
protected

◆ $obj_id

int ILIAS\Notes\Context::$obj_id = 0
protected

◆ $sub_obj_id

int ILIAS\Notes\Context::$sub_obj_id = 0
protected

◆ $type

string ILIAS\Notes\Context::$type = ""
protected

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