ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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 }
setCmdClass(?string $cmd_class)
Sets the current contexts command class.
setCmdMode(string $mode)
Sets the command mode of the current context.
getTargetScript()
Returns the target script of this context.
setObjId(int $obj_id)
Sets the object id of the current context.
setObjType(string $obj_type)
Sets the object type of the current context.
getRedirectSource()
Returns where the request of this context was redirected from.
getCmdClass()
Returns the command class of this context.
setCmd(?string $cmd)
Sets the command which the current command- or baseclass should perform.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getPath()
Returns the path of this context.
getBaseClass()
Returns the baseclass the current context.
setTargetScript(string $target_script)
Sets the target script of this context (usually ilias.php).
isAsync()
Returns whether this context is asynchronous or not.
getObjId()
Returns the object id of the current context.
setBaseClass(string $base_class)
Sets the baseclass of the current context.
getCmd()
Returns the command which the current command- or baseclass should perform.
getObjType()
Returns the object type of the current context.
Interface ilCtrlPathInterface is responsible for holding and manipulating a valid ilCtrl class-path (...
getCmdMode()
Returns the command mode of the current context.