19declare(strict_types=1);
43 protected function getId(): string
50 return $this->domain->lng()->txt(
"clipboard");
60 $type = (string) $data_row[
"type"];
61 $id = (
int) $data_row[
"source_id"];
62 $title = htmlspecialchars(
63 (
string) $data_row[
"title"] .
" [" .
$id .
"]",
68 if ($type ===
"mob") {
69 $mob = new \ilObjMediaObject(
$id);
70 $thumbnail = $this->thumbs_gui->getThumbHtml(
$id);
73 $thumbnail = $this->gui->ui()->renderer()->render(
74 $this->gui->ui()->factory()->symbol()->icon()->custom(
76 $this->domain->lng()->txt(
"page")
82 "id" => $data_row[
"id"],
83 "thumbnail" => $thumbnail,
90 $lng = $this->domain->lng();
93 ->textColumn(
"title",
$lng->txt(
"mep_title_and_description"),
true)
94 ->multiAction(
"remove",
$lng->txt(
"remove"))
95 ->singleAction(
"removeSingle",
$lng->txt(
"remove"));
97 if ($this->parent_gui->mode ===
"getObject") {
99 ->
multiAction(
"insert", $this->parent_gui->getInsertButtonTitle())
100 ->singleAction(
"insertSingle", $this->parent_gui->getInsertButtonTitle());
105 [\ilObjMediaObjectGUI::class],
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
textColumn(string $key, string $title, bool $sortable=false)
singleRedirectAction(string $action, string $title, array $class_path, string $cmd="", string $id_param="", bool $async=false)
multiAction(string $action, string $title, bool $async=false)
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc