ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\Blog\BlogGUIContext Class Reference
+ Collaboration diagram for ILIAS\Blog\BlogGUIContext:

Public Member Functions

 __construct (protected int $node_id, protected int $id_type, protected ?\ilObjBlog $blog, protected string $month, protected ?int $author, protected PermissionManager $permission, protected StandardGUIRequest $request, protected bool $call_by_reference=false)
 
 getNodeId ()
 
 getIdType ()
 
 getObject ()
 
 getBlog ()
 
 getMonth ()
 
 getAuthor ()
 
 getPermission ()
 
 getRequest ()
 
 isRepositoryNode ()
 
 isCallByReference ()
 

Detailed Description

Definition at line 25 of file class.BlogGUIContext.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Blog\BlogGUIContext::__construct ( protected int  $node_id,
protected int  $id_type,
protected ?\ilObjBlog  $blog,
protected string  $month,
protected ?int  $author,
protected PermissionManager  $permission,
protected StandardGUIRequest  $request,
protected bool  $call_by_reference = false 
)

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

36 {
37 }

Member Function Documentation

◆ getAuthor()

ILIAS\Blog\BlogGUIContext::getAuthor ( )

Definition at line 68 of file class.BlogGUIContext.php.

68 : ?int
69 {
70 return $this->author;
71 }

◆ getBlog()

ILIAS\Blog\BlogGUIContext::getBlog ( )

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

55 {
56 if ($this->blog === null) {
57 throw new \LogicException("A Blog GUI context requires a blog object.");
58 }
59
60 return $this->blog;
61 }

Referenced by ILIAS\Blog\Presentation\PresentationGUI\__construct(), and ILIAS\Blog\Editing\EditingGUI\__construct().

+ Here is the caller graph for this function:

◆ getIdType()

ILIAS\Blog\BlogGUIContext::getIdType ( )

Definition at line 44 of file class.BlogGUIContext.php.

44 : int
45 {
46 return $this->id_type;
47 }

◆ getMonth()

ILIAS\Blog\BlogGUIContext::getMonth ( )

Definition at line 63 of file class.BlogGUIContext.php.

63 : string
64 {
65 return $this->month;
66 }

◆ getNodeId()

ILIAS\Blog\BlogGUIContext::getNodeId ( )

Definition at line 39 of file class.BlogGUIContext.php.

39 : int
40 {
41 return $this->node_id;
42 }

◆ getObject()

ILIAS\Blog\BlogGUIContext::getObject ( )

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

49 : ?\ilObjBlog
50 {
51 return $this->blog;
52 }

◆ getPermission()

ILIAS\Blog\BlogGUIContext::getPermission ( )

Definition at line 73 of file class.BlogGUIContext.php.

74 {
75 return $this->permission;
76 }

◆ getRequest()

ILIAS\Blog\BlogGUIContext::getRequest ( )

Definition at line 78 of file class.BlogGUIContext.php.

79 {
80 return $this->request;
81 }
$request
@ilCtrl_Calls ilObjLearningSequenceContentGUI: ilObjLearningSequenceConditionsGUI
Definition: ltiauth.php:39

References $request.

Referenced by ILIAS\UI\Implementation\Component\Table\Ordering\applyViewControls(), and ILIAS\UI\Implementation\Component\Table\Ordering\getData().

+ Here is the caller graph for this function:

◆ isCallByReference()

ILIAS\Blog\BlogGUIContext::isCallByReference ( )

Definition at line 88 of file class.BlogGUIContext.php.

88 : bool
89 {
90 return $this->call_by_reference;
91 }

◆ isRepositoryNode()

ILIAS\Blog\BlogGUIContext::isRepositoryNode ( )

Definition at line 83 of file class.BlogGUIContext.php.

83 : bool
84 {
85 return $this->id_type === \ilObjBlogGUI::REPOSITORY_NODE_ID;
86 }

References ilObject2GUI\REPOSITORY_NODE_ID.

Referenced by ILIAS\Blog\Editing\EditingGUI\__construct().

+ Here is the caller graph for this function:

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