22 return $this->context_collection->
main()->repository();
32 $additional_data = $called_contexts->
current()->getAdditionalData();
33 if ($additional_data->is(self::SHOW_TREE,
true)) {
34 $title = $this->dic->language()->txt(
'objs_st');
35 $icon = $this->dic->ui()->factory()->symbol()->icon()->custom(\
ilUtil::getImagePath(
"outlined/icon_chp.svg"), $title);
37 $iff =
function ($id) {
38 return $this->identification_provider->contextAwareIdentifier($id);
40 $l =
function (
string $content) {
41 return $this->dic->ui()->factory()->legacy($content);
43 $tools[] = $this->factory->tool($iff(
"tree"))
46 ->withContentWrapper(
function () use ($l) {
67 return $exp->getHTML();
LM editor explorer GUI class.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Main service init and factory.