ILIAS  release_8 Revision v8.24
interface.ilCtrlContextInterface.php
Go to the documentation of this file.
1<?php
2
26{
32 public function isAsync(): bool;
33
39 public function getRedirectSource(): ?string;
40
46 public function getPath(): ilCtrlPathInterface;
47
54 public function setCmdMode(string $mode): ilCtrlContextInterface;
55
61 public function getCmdMode(): ?string;
62
69 public function setBaseClass(string $base_class): ilCtrlContextInterface;
70
76 public function getBaseClass(): ?string;
77
84 public function setTargetScript(string $target_script): ilCtrlContextInterface;
85
91 public function getTargetScript(): string;
92
99 public function setCmdClass(?string $cmd_class): ilCtrlContextInterface;
100
106 public function getCmdClass(): ?string;
107
115 public function setCmd(?string $cmd): self;
116
123 public function getCmd(): ?string;
124
131 public function setObjType(string $obj_type): ilCtrlContextInterface;
132
138 public function getObjType(): ?string;
139
146 public function setObjId(int $obj_id): ilCtrlContextInterface;
147
153 public function getObjId(): ?int;
154}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setCmdClass(?string $cmd_class)
Sets the current contexts command class.
setObjType(string $obj_type)
Sets the object type of the current context.
setCmdMode(string $mode)
Sets the command mode of the current context.
setCmd(?string $cmd)
Sets the command which the current command- or baseclass should perform.
getObjType()
Returns the object type of the current context.
getCmdMode()
Returns the command mode of the current context.
getBaseClass()
Returns the baseclass the current context.
setBaseClass(string $base_class)
Sets the baseclass of the current context.
isAsync()
Returns whether this context is asynchronous or not.
getTargetScript()
Returns the target script of this context.
getCmdClass()
Returns the command class of this context.
getRedirectSource()
Returns where the request of this context was redirected from.
getCmd()
Returns the command which the current command- or baseclass should perform.
setTargetScript(string $target_script)
Sets the target script of this context (usually ilias.php).
getPath()
Returns the path of this context.
setObjId(int $obj_id)
Sets the object id of the current context.
getObjId()
Returns the object id of the current context.
Interface ilCtrlPathInterface is responsible for holding and manipulating a valid ilCtrl class-path (...