ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

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.

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  }

Member Function Documentation

◆ getInRepository()

ILIAS\Notes\Context::getInRepository ( )

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

References ILIAS\Notes\Context\$in_repo.

Referenced by ILIAS\Notes\NoteDBRepository\getQuery().

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

◆ getNewsId()

ILIAS\Notes\Context::getNewsId ( )

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

References ILIAS\Notes\Context\$news_id.

Referenced by ILIAS\Notes\NoteDBRepository\getQuery().

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

◆ getObjId()

ILIAS\Notes\Context::getObjId ( )

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

References ILIAS\Notes\Context\$obj_id.

Referenced by ILIAS\Notes\NoteDBRepository\getQuery().

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

◆ getSubObjId()

ILIAS\Notes\Context::getSubObjId ( )

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

References ILIAS\Notes\Context\$sub_obj_id.

Referenced by ILIAS\Notes\NoteDBRepository\getQuery().

54  : int
55  {
56  return $this->sub_obj_id;
57  }
+ Here is the caller graph for this function:

◆ getType()

ILIAS\Notes\Context::getType ( )

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

References ILIAS\Notes\Context\$type.

Referenced by ILIAS\Notes\NoteDBRepository\getQuery().

64  : string
65  {
66  return $this->type;
67  }
+ Here is the caller graph for this function:

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: