33         string $a_parent_node_name
    37         $this->
ctrl = $DIC->ctrl();
    38         $this->
lng = $DIC->language();
    39         $this->
access = $DIC->access();
    41         $this->parent_node_name = $a_parent_node_name;
    42         $this->pc_media_object = $a_pc_media_object;
    49             $this->pc_media_object->getDomDoc(),
    50             $this->pc_media_object->hier_id,
    52             $this->pc_media_object->getPCId(),
    57         foreach ($areas as $k => 
$a) {
    58             $areas[$k][
"title"] = 
$a[
"Link"][
"Title"];
    64     protected function fillRow(array $a_set): void
    67         $this->tpl->setVariable(
    71         $this->tpl->setVariable(
"VAR_NAME", 
"name_" . $i);
    72         $this->tpl->setVariable(
"VAL_NAME", trim($a_set[
"Link"][
"Title"]));
    73         $this->tpl->setVariable(
"VAL_SHAPE", $a_set[
"Shape"]);
    75         $this->tpl->setVariable(
    78                 $a_set[
"HighlightMode"],
    85         $this->tpl->setVariable(
    88                 $a_set[
"HighlightClass"],
    96         $this->tpl->setVariable(
    98             implode(
", ", explode(
",", $a_set[
"Coords"]))
   100         switch ($a_set[
"Link"][
"LinkType"]) {
   102                 $this->tpl->setVariable(
"VAL_LINK", $a_set[
"Link"][
"Href"]);
   106                 $link_str = $this->parent_obj->getMapAreaLinkString(
   107                     $a_set[
"Link"][
"Target"],
   108                     $a_set[
"Link"][
"Type"],
   109                     $a_set[
"Link"][
"TargetFrame"]
   111                 $this->tpl->setVariable(
"VAL_LINK", $link_str);
 
__construct(object $a_parent_obj, string $a_parent_cmd, ilPCMediaObject $a_pc_media_object, string $a_parent_node_name)
 
ilPCMediaObject $pc_media_object
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static sortArray(array $array, string $a_array_sortby_key, string $a_array_sortorder="asc", bool $a_numeric=false, bool $a_keep_keys=false)