ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
interface.ilCtrlContextInterface.php
Go to the documentation of this file.
1<?php
2
27{
33 public function isAsync(): bool;
34
40 public function getRedirectSource(): ?string;
41
47 public function getPath(): ilCtrlPathInterface;
48
55 public function setCmdMode(string $mode): ilCtrlContextInterface;
56
62 public function getCmdMode(): ?string;
63
70 public function setBaseClass(string $base_class): ilCtrlContextInterface;
71
77 public function getBaseClass(): ?string;
78
85 public function setTargetScript(string $target_script): ilCtrlContextInterface;
86
92 public function getTargetScript(): string;
93
100 public function setCmdClass(?string $cmd_class): ilCtrlContextInterface;
101
107 public function getCmdClass(): ?string;
108
116 public function setCmd(?string $cmd): self;
117
124 public function getCmd(): ?string;
125
132 public function setObjType(string $obj_type): ilCtrlContextInterface;
133
139 public function getObjType(): ?string;
140
147 public function setObjId(int $obj_id): ilCtrlContextInterface;
148
154 public function getObjId(): ?int;
155}
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...