20 if (!$value || $value ==
"-") {
24 if (!is_array($value)) {
25 $value = array($value);
30 foreach ($value as $k => $v) {
35 $value = array_values($value);
43 $ref_table = $ref_record->getTable();
45 if ($ref_table->getVisibleTableViews(
$_GET[
'ref_id'],
true)) {
74 if (!$value || $value ==
"-") {
82 $ilCtrl->clearParametersByClass(ilDclDetailedViewGUI::class);
83 $ilCtrl->setParameterByClass(ilDclDetailedViewGUI::class,
"record_id", $ref_record->getId());
84 $ilDCLTableView = ilDCLTableView::createOrGetStandardView($ref_record->getTableId());
85 $ilCtrl->setParameterByClass(ilDclDetailedViewGUI::class,
"tableview_id", $ilDCLTableView->getId());
86 $ilCtrl->setParameterByClass(ilDclDetailedViewGUI::class,
"back_tableview_id",
$_GET[
'tableview_id']);
87 $html =
"<a href='" .
$ilCtrl->getLinkTargetByClass(ilDclDetailedViewGUI::class,
"renderRecord") .
"&disable_paging=1'>" . $link_name .
"</a>";
getLinkHTML($link_name=null, $value)
const PROP_REFERENCE_LINK
Class ilDclReferenceRecordRepresentation.
static getRecordCache($record_id=0)
Class ilDclBaseRecordRepresentation.
getRecordField()
Get Record Field.