2 require_once(
'./Modules/DataCollection/classes/Fields/Base/class.ilDclBaseRecordRepresentation.php');
19 if (!$value || $value ==
"-") {
23 if (!is_array($value)) {
24 $value =
array($value);
29 foreach ($value as $v) {
39 $ref_table = $ref_record->getTable();
41 if ($ref_table->getVisibleTableViews(
$_GET[
'ref_id'],
true)) {
69 if (!$value || $value ==
"-") {
77 $ilCtrl->clearParametersByClass(
"ilDclDetailedViewGUI");
78 $ilCtrl->setParameterByClass(
"ilDclDetailedViewGUI",
"record_id", $ref_record->getId());
79 $ilCtrl->setParameterByClass(
"ilDclDetailedViewGUI",
"back_tableview_id",
$_GET[
'tableview_id']);
80 $html =
"<a href='" .
$ilCtrl->getLinkTargetByClass(
"ilDclDetailedViewGUI",
"renderRecord") .
"&disable_paging=1'>" . $link_name .
"</a>";
const PROP_REFERENCE_LINK
getLinkHTML($link_name=NULL, $value)
Class ilDclReferenceRecordRepresentation.
static getRecordCache($record_id=0)
Create styles array
The data for the language used.
Class ilDclBaseRecordRepresentation.
getRecordField()
Get Record Field.