25        if (is_array($value) && 
$_POST[
'ilfilehash']) {
 
   26            $this->ctrl->setParameterByClass(
"ildclrecordlistgui", 
"ilfilehash", 
$_POST[
'ilfilehash']);
 
   27            $this->ctrl->setParameterByClass(
"ildclrecordlistgui", 
"field_id", $this->
getRecordField()->
getField()->getId());
 
   29            return '<a href="' . $this->ctrl->getLinkTargetByClass(
"ildclrecordlistgui", 
"sendFile") . 
'">' . $value[
'name'] . 
'</a>';
 
   33        $med = $mob->getMediaItem(
'Standard');
 
   35        if (!$med || $med->getLocation() == 
null) {
 
   44        if (in_array($med->getSuffix(), array(
'jpg', 
'jpeg', 
'png', 
'gif'))) {
 
   52            if ($is_linked_field && $has_view && $link) {
 
   53                $this->ctrl->setParameterByClass(
'ilDclDetailedViewGUI', 
'record_id', $this->
getRecordField()->
getRecord()->getId());
 
   54                $html = 
'<a href="' . $this->ctrl->getLinkTargetByClass(
"ilDclDetailedViewGUI", 
'renderRecord') . 
'">' . 
$html . 
'</a>';
 
   60            $mpl->setMimeType($med->getFormat());
 
   63            $mpl->setVideoPreviewPic($mob->getVideoPreviewPic());
 
   64            $html = $mpl->getPreviewHtml();
 
   66            if ($is_linked_field && $has_view) {
 
   67                $this->ctrl->setParameterByClass(
'ilDclDetailedViewGUI', 
'record_id', $this->
getRecordField()->
getRecord()->getId());
 
   68                $html = 
$html . 
'<a href="' . $this->ctrl->getLinkTargetByClass(
"ilDclDetailedViewGUI", 
'renderRecord') . 
'">' . $this->lng->txt(
'details') . 
'</a>';
 
   85        if (is_array($value)) {
 
An exception for terminatinating execution or to throw for unit testing.
const PROP_LINK_DETAIL_PAGE_TEXT
getRecordField()
Get Record Field.
getField()
Getter shortcut for field.
getRecord()
Getter shortcut for record.
Class ilDclFileuploadRecordRepresentation.
Class ilDclMobRecordRepresentation.
getHTML($link=true)
Outputs html of a certain field.
parseFormInput($value)
function parses stored value to the variable needed to fill into the form for editing.
static _lookupType($a_id, $a_reference=false)
lookup object type
static _exists($a_id, $a_reference=false, $a_type=null)
checks if an object exists in object_data@access public
static img($a_src, $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
static signFile($path_to_file)