ILIAS  release_7 Revision v7.30-3-g800a261c036
ilUIHookProcessor Class Reference

Class ilUIHookProcessor. More...

+ Collaboration diagram for ilUIHookProcessor:

Public Member Functions

 replaced ()
 
 getHTML ($html)
 

Protected Attributes

 $plugin_admin
 
 $append = []
 
 $prepend = []
 
 $replace = ''
 

Private Attributes

 $replaced = false
 

Detailed Description

Member Function Documentation

◆ getHTML()

ilUIHookProcessor::getHTML (   $html)
Parameters
string$html
Returns
string

Definition at line 96 of file class.ilUIHookProcessor.php.

97 {
98 if ($this->replaced) {
99 $html = $this->replace;
100 }
101 foreach ($this->append as $a) {
102 $html .= $a;
103 }
104 foreach ($this->prepend as $p) {
105 $html = $p . $html;
106 }
107
108 return $html;
109 }
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples

References Vendor\Package\$a, $replace, and replaced().

+ Here is the call graph for this function:

◆ replaced()

ilUIHookProcessor::replaced ( )
Returns
bool Should HTML be replaced completely?

Definition at line 85 of file class.ilUIHookProcessor.php.

References $replaced.

Referenced by getHTML().

+ Here is the caller graph for this function:

Field Documentation

◆ $append

ilUIHookProcessor::$append = []
protected

Definition at line 24 of file class.ilUIHookProcessor.php.

◆ $plugin_admin

ilUIHookProcessor::$plugin_admin
protected

Definition at line 20 of file class.ilUIHookProcessor.php.

◆ $prepend

ilUIHookProcessor::$prepend = []
protected

Definition at line 28 of file class.ilUIHookProcessor.php.

◆ $replace

ilUIHookProcessor::$replace = ''
protected

Definition at line 32 of file class.ilUIHookProcessor.php.

Referenced by getHTML().

◆ $replaced

ilUIHookProcessor::$replaced = false
private

Definition at line 16 of file class.ilUIHookProcessor.php.

Referenced by replaced().


The documentation for this class was generated from the following file: