50         self::PARAM_BASE_CLASS,
    51         self::PARAM_CMD_CLASS,
    53         self::PARAM_CSRF_TOKEN,
    72     public function callBaseClass(
string $a_base_class = null): void;
    96     public function getHTML(
object $a_gui_object, array $a_parameters = null): string;
   105     public function getCmd(
string $fallback_command = null): ?string;
   123     public function getNextClass($a_gui_class = null): ?string;
   134     public function saveParameter(
object $a_gui_obj, $a_parameter): void;
   163     public function setParameter(
object $a_gui_obj, 
string $a_parameter, $a_value): void;
   232         string $a_cmd = null,
   233         string $a_anchor = null,
   234         bool $is_async = 
false,
   235         bool $has_xml_style = 
false   251         string $a_cmd = null,
   252         string $a_anchor = null,
   253         bool $is_async = 
false,
   254         bool $has_xml_style = 
false   269         string $a_fallback_cmd = null,
   270         string $a_anchor = null,
   271         bool $is_async = 
false,
   272         bool $has_xml_style = 
false   288         string $a_fallback_cmd = null,
   289         string $a_anchor = null,
   290         bool $is_async = 
false,
   291         bool $has_xml_style = 
false   305         string $a_cmd = null,
   306         string $a_anchor = null,
   307         bool $is_async = 
false   321         string $a_cmd = null,
   322         string $a_anchor = null,
   323         bool $is_async = 
false   424     public function setReturn(
object $a_gui_obj, 
string $a_cmd = null): void;
   434     public function setReturnByClass(
string $a_class, 
string $a_cmd = null): void;
   466     public function returnToParent(
object $a_gui_obj, 
string $a_anchor = null): void;
   488     public function insertCtrlCalls($a_parent, $a_child, 
string $a_comp_prefix): void;
 
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. 
 
setParameterByClass(string $a_class, string $a_parameter, $a_value)
Sets a parameter for the given GUI class and appends the given value as well. 
 
attachObserver(ilCtrlObserver $observer, ilCtrlEvent $event=ilCtrlEvent::ALL)
Attaches an observer to ALL or a specific. 
 
const CMD_MODE_PROCESS
different modes used for UI plugins (or in dev-mode). 
 
saveParameterByClass(string $a_class, $a_parameter)
Sets a parameter for the given GUI class that must be passed in every target link generation...
 
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...
 
detachObserver(ilCtrlObserver $observer, ilCtrlEvent $event=ilCtrlEvent::ALL)
Detaches an observer from ALL or a specific. 
 
saveParameter(object $a_gui_obj, $a_parameter)
Sets parameters for the given object. 
 
const PROTECTED_PARAMETERS
 
clearParameters(object $a_gui_obj)
Removes all currently set or saved parameters for the given GUI object. 
 
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. 
 
clearParametersByClass(string $a_class)
Removes all currently set or saved parameters for the given GUI class. 
 
clearParameterByClass(string $a_class, string $a_parameter)
Removes a specific parameter of a specific class that is currently set or saved. 
 
getCallHistory()
Returns the descending stacktrace of ilCtrl calls that have been made. 
 
getCmdClass()
Returns the fully-qualified classname of the requested command class. 
 
getContextObjId()
Returns the current context's object id. 
 
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. 
 
getRedirectSource()
Returns the current redirect source. 
 
const PARAM_CSRF_TOKEN
$_GET request parameter names, used throughout ilCtrl. 
 
redirectToURL(string $target_url)
Redirects to the given target URL. 
 
event string being used if 
 
isAsynch()
Returns whether the current request is an asynchronous one. 
 
forwardCommand(object $a_gui_object)
Forwards the request by invoking executeCommand() on the given GUI object and fires an according ilCt...
 
getCurrentClassPath()
Get current class path as array of class file names. 
 
getCmd(string $fallback_command=null)
Returns the command passed with the current POST or GET request and fires an according ilCtrlEvent...
 
insertCtrlCalls($a_parent, $a_child, string $a_comp_prefix)
Inserts an ilCtrl call record into the database. 
 
getParameterArrayByClass(string $a_class)
Returns all parameters that have been saved or set for a given GUI class. 
 
setContextObject(int $obj_id, string $obj_type)
Sets the current object (id and type) of ilCtrl's context. 
 
callBaseClass(string $a_base_class=null)
Calls the currently provided baseclass. 
 
checkCurrentPathForClass(string $gui_class)
Check if current CID trace contains a certain gui class. 
 
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
Sets a parameter for the given GUI object and appends the given value. 
 
getParameterArray(object $a_gui_obj)
Returns all parameters that have been saved or set for a GUI object. 
 
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
Redirects to the provided GUI class. 
 
setReturn(object $a_gui_obj, string $a_cmd=null)
Sets the return command of a given GUI object. 
 
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. 
 
returnToParent(object $a_gui_obj, string $a_anchor=null)
Redirects to next parent class set with setReturn(). 
 
lookupOriginalClassName(string $a_class)
This method was introduced due to composer being case-sensitive when autoloading classes. 
 
lookupClassPath(string $a_class)
Get class path that can be used in include statements for a given class name. 
 
setReturnByClass(string $a_class, string $a_cmd=null)
Sets the return command of a given class. 
 
redirect(object $a_gui_obj, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
Redirects to another GUI object. 
 
getNextClass($a_gui_class=null)
Returns the fully-qualified classname of the next class in the control flow. 
 
setTargetScript(string $a_target_script)
Sets the current ilCtrl target script (default ilias.php). 
 
getContextObjType()
Returns the current context's object type. 
 
getParentReturn(object $a_gui_obj)
 
getParentReturnByClass(string $a_class)