21 public function getHTML(
bool $link =
true, array $options = []): string
42 public function getSingleHTML(array $options = null,
bool $link =
true): string
57 public function getLinkHTML(
string $title,
bool $show_action_menu =
false): string
61 if ($show_action_menu) {
66 $list->setId(
'adv_list_copy_link_' . $field->getId() . $record->getId());
67 $list->setListTitle($title);
69 $list->addItem(
$lng->
txt(
'view'),
'view', $link);
74 return $list->getHTML();
76 return "<a href=\"$link\">$title</a>";
86 $ilCtrl = $DIC[
'ilCtrl'];
94 return $ilCtrl->getLinkTargetByClass(
'ilobjectcopygui',
'initTargetSelection');
96 return $ilCtrl->getLinkTargetByClass(array(
'ilrepositorygui',
'ilobjrootfoldergui'),
'link');
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
getActionLink(string $mode)
getField()
Getter shortcut for field.
static _lookupObjId(int $ref_id)
getHTML(bool $link=true, array $options=[])
getSingleHTML(array $options=null, bool $link=true)
static _lookupTitle(int $obj_id)
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
Get static link.
const PROP_DISPLAY_COPY_LINK_ACTION_MENU
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getLinkHTML(string $title, bool $show_action_menu=false)
getRecordField()
Get Record Field.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
const PROP_ILIAS_REFERENCE_LINK