2 require_once(
'./Modules/DataCollection/classes/Fields/Base/class.ilDclBaseRecordRepresentation.php');
3 require_once(
"./Services/Rating/classes/class.ilRatingGUI.php");
4 require_once(
"./Services/Link/classes/class.ilLink.php");
5 require_once(
'./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php');
63 if ($show_action_menu) {
68 $list->setId(
'adv_list_copy_link_' . $field->getId() . $record->getId());
69 $list->setListTitle(
$title);
71 $list->addItem(
$lng->txt(
'view'),
'view', $link);
75 return $list->getHTML();
77 return "<a href=\"$link\">$title</a>";
93 $ilCtrl->setParameterByClass(
'ilobjrootfoldergui',
'item_ref_id', $this->
getRecordField()->getValue());
95 return $ilCtrl->getLinkTargetByClass(
'ilobjectcopygui',
'initTargetSelection');
97 return $ilCtrl->getLinkTargetByClass(
array(
'ilrepositorygui',
'ilobjrootfoldergui'),
'link');
Class ilDclIliasRecordRepresentation.
static _getStaticLink($a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
getField()
Getter shortcut for field.
static _lookupTitle($a_id)
lookup object title
if(!is_array($argv)) $options
static _lookupObjId($a_id)
getLinkHTML($title, $show_action_menu=false)
const PROP_DISPLAY_COPY_LINK_ACTION_MENU
Create styles array
The data for the language used.
Class ilDclBaseRecordRepresentation.
User interface class for advanced drop-down selection lists.
getRecordField()
Get Record Field.
getSingleHTML(array $options=array(), $link=true)
const PROP_ILIAS_REFERENCE_LINK