2 namespace TYPO3\CMS\Frontend\ContentObject;
28 public function render($conf = array())
30 $file = isset($conf[
'file.']) ? $this->cObj->stdWrap($conf[
'file'], $conf[
'file.']) : $conf[
'file'];
31 $theValue = $this->cObj->fileResource($file, trim($this->cObj->getAltParam($conf,
false)));
32 $linkWrap = isset($conf[
'linkWrap.']) ? $this->cObj->stdWrap($conf[
'linkWrap'], $conf[
'linkWrap.']) : $conf[
'linkWrap'];
34 $theValue = $this->cObj->linkWrap($theValue, $linkWrap);
36 $wrap = isset($conf[
'wrap.']) ? $this->cObj->stdWrap($conf[
'wrap'], $conf[
'wrap.']) : $conf[
'wrap'];
38 $theValue = $this->cObj->wrap($theValue, $wrap);
40 if (isset($conf[
'stdWrap.'])) {
41 $theValue = $this->cObj->stdWrap($theValue, $conf[
'stdWrap.']);