93 public function getHTML(
object $a_gui_object, array $a_parameters =
null): string;
101 public function getCmd(
string $fallback_command =
null): ?string;
111 public function setCmd(?
string $a_cmd): void;
179 public function setParameter(
object $a_gui_obj,
string $a_parameter, $a_value): void;
248 string $a_cmd =
null,
249 string $a_anchor =
null,
250 bool $is_async =
false,
251 bool $has_xml_style =
false
267 string $a_cmd =
null,
268 string $a_anchor =
null,
269 bool $is_async =
false,
270 bool $has_xml_style =
false
285 string $a_fallback_cmd =
null,
286 string $a_anchor =
null,
287 bool $is_async =
false,
288 bool $has_xml_style =
false
304 string $a_fallback_cmd =
null,
305 string $a_anchor =
null,
306 bool $is_async =
false,
307 bool $has_xml_style =
false
321 string $a_cmd =
null,
322 string $a_anchor =
null,
323 bool $is_async =
false
337 string $a_cmd =
null,
338 string $a_anchor =
null,
339 bool $is_async =
false
440 public function setReturn(
object $a_gui_obj,
string $a_cmd =
null): void;
482 public function returnToParent(
object $a_gui_obj,
string $a_anchor =
null): void;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getLinkTarget(object $a_gui_obj, string $a_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
Returns a link target for the given information.
clearParametersByClass(string $a_class)
Removes all currently set or saved parameters for the given GUI class.
setReturnByClass(string $a_class, string $a_cmd=null)
Sets the return command of a given class.
const PROTECTED_PARAMETERS
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
Sets a parameter for the given GUI object and appends the given value.
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
Redirects to the provided GUI class.
getParameterArrayByClass(string $a_class)
Returns all parameters that have been saved or set for a given GUI class.
setCmdClass($a_cmd_class)
Sets the command class that should be executed next.
getCurrentClassPath()
Get current class path as array of class file names.
redirectToURL(string $target_url)
Redirects to the given target URL.
getContextObjId()
Returns the current context's object id.
isAsynch()
Returns whether the current request is an asynchronous one.
setTargetScript(string $a_target_script)
Sets the current ilCtrl target script (default ilias.php).
const PARAM_CSRF_TOKEN
$_GET request parameter names, used throughout ilCtrl.
saveParameterByClass(string $a_class, $a_parameter)
Sets a parameter for the given GUI class that must be passed in every target link generation.
setContextObject(int $obj_id, string $obj_type)
Sets the current object (id and type) of ilCtrl's context.
getLinkTargetByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
Returns a link target for the given information.
getFormAction(object $a_gui_obj, string $a_fallback_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
Returns a form action link for the given information.
getCmd(string $fallback_command=null)
Returns the command passed with the current POST or GET request.
clearParameters(object $a_gui_obj)
Removes all currently set or saved parameters for the given GUI object.
getCmdClass()
Returns the fully-qualified classname of the requested command class.
redirect(object $a_gui_obj, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
Redirects to another GUI object.
clearParameterByClass(string $a_class, string $a_parameter)
Removes a specific parameter of a specific class that is currently set or saved.
lookupClassPath(string $a_class)
Get class path that can be used in include statements for a given class name.
lookupOriginalClassName(string $a_class)
This method was introduced due to composer being case-sensitive when autoloading classes.
callBaseClass(string $a_base_class=null)
Calls the currently provided baseclass.
getClassForClasspath(string $a_class_path)
Returns the effective classname for a given path.
getFormActionByClass( $a_class, string $a_fallback_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
Returns a form action link for the given information.
forwardCommand(object $a_gui_object)
Forwards the request by invoking executeCommand() on the given GUI object.
checkCurrentPathForClass(string $gui_class)
Check if current CID trace contains a certain gui class.
insertCtrlCalls($a_parent, $a_child, string $a_comp_prefix)
Inserts an ilCtrl call record into the database.
getNextClass($a_gui_class=null)
Returns the fully-qualified classname of the next class in the control flow.
getParentReturn(object $a_gui_obj)
returnToParent(object $a_gui_obj, string $a_anchor=null)
Redirects to next parent class set with setReturn().
setCmd(?string $a_cmd)
Sets the current command.
getParameterArray(object $a_gui_obj)
Returns all parameters that have been saved or set for a GUI object.
getRedirectSource()
Returns the current redirect source.
getHTML(object $a_gui_object, array $a_parameters=null)
Returns the HTML output of another GUI object by invoking getHTML() with optional parameters on it.
getContextObjType()
Returns the current context's object type.
getCallHistory()
Returns the descending stacktrace of ilCtrl calls that have been made.
saveParameter(object $a_gui_obj, $a_parameter)
Sets parameters for the given object.
const CMD_MODE_PROCESS
different modes used for UI plugins (or in dev-mode).
setReturn(object $a_gui_obj, string $a_cmd=null)
Sets the return command of a given GUI object.
setParameterByClass(string $a_class, string $a_parameter, $a_value)
Sets a parameter for the given GUI class and appends the given value as well.
getParentReturnByClass(string $a_class)