ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Collects all js/css/onload resources necessary for page rendering. More...
Public Member Functions | |
__construct (string $output_mode, \ilPageObject $pg=null) | |
Constructor, currently has a dependency to ilPageObject due to historic reasons, this should be removed in the future. More... | |
getJavascriptFiles () | |
Get javascript files. More... | |
getCssFiles () | |
Get css files. More... | |
getOnloadCode () | |
Get onload code. More... | |
Protected Attributes | |
$js_files = [] | |
$css_files = [] | |
$onload_code = [] | |
Collects all js/css/onload resources necessary for page rendering.
Definition at line 12 of file ResourcesCollector.php.
ILIAS\COPage\ResourcesCollector::__construct | ( | string | $output_mode, |
\ilPageObject | $pg = null |
||
) |
Constructor, currently has a dependency to ilPageObject due to historic reasons, this should be removed in the future.
string | $output_mode | |
\ilPageObject | null | $pg |
Definition at line 36 of file ResourcesCollector.php.
References ILIAS\COPage\ResourcesCollector\$css_files, ILIAS\COPage\ResourcesCollector\$js_files, ILIAS\COPage\ResourcesCollector\$onload_code, iljQueryUtil\getLocaljQueryPath(), iljQueryUtil\getLocaljQueryUIPath(), ilCOPagePCDef\getPCDefinitions(), and ilPageObjectGUI\OFFLINE.
ILIAS\COPage\ResourcesCollector::getCssFiles | ( | ) |
Get css files.
Definition at line 106 of file ResourcesCollector.php.
References ILIAS\COPage\ResourcesCollector\$css_files.
ILIAS\COPage\ResourcesCollector::getJavascriptFiles | ( | ) |
Get javascript files.
Definition at line 97 of file ResourcesCollector.php.
References ILIAS\COPage\ResourcesCollector\$js_files.
ILIAS\COPage\ResourcesCollector::getOnloadCode | ( | ) |
Get onload code.
Definition at line 115 of file ResourcesCollector.php.
References ILIAS\COPage\ResourcesCollector\$onload_code.
|
protected |
Definition at line 22 of file ResourcesCollector.php.
Referenced by ILIAS\COPage\ResourcesCollector\__construct(), and ILIAS\COPage\ResourcesCollector\getCssFiles().
|
protected |
Definition at line 17 of file ResourcesCollector.php.
Referenced by ILIAS\COPage\ResourcesCollector\__construct(), and ILIAS\COPage\ResourcesCollector\getJavascriptFiles().
|
protected |
Definition at line 27 of file ResourcesCollector.php.
Referenced by ILIAS\COPage\ResourcesCollector\__construct(), and ILIAS\COPage\ResourcesCollector\getOnloadCode().