14declare(strict_types=1);
20use ILIAS\Repository\RetrievalBase;
45 foreach (
$data as $row) {
52 return count($this->collectData());
57 return $field ===
"id";
62 if ($this->data !==
null) {
66 $item = $this->media_object->getMediaItem(
"Standard");
72 $area = new \ilMapArea($item->getId(),
$id);
75 "title" => $area->getTitle(),
76 "shape" => $area->getShape(),
77 "coords" => implode(
", ", explode(
",", $area->getCoords())),
78 "highlight_mode" => $highlight_modes[$area->getHighlightMode()] ?? $area->getHighlightMode(),
79 "highlight_class" => $highlight_classes[$area->getHighlightClass()] ?? $area->getHighlightClass(),
80 "link_type" => $area->getLinkType(),
81 "href" => $area->getHref(),
82 "target" => $area->getTarget(),
83 "type" => $area->getType(),
84 "target_frame" => $area->getTargetFrame()
88 return $this->data =
$data;
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Both the subject and the direction need to be specified when expressing an order.
A simple class to express a naive range of whole positive numbers.
static getAllHighlightClasses()
static _getMaxNr(int $a_item_id)
get maximum nr of media item (static)
static getAllHighlightModes()