TYPO3 CMS  TYPO3_6-2
UserContentObject.php
Go to the documentation of this file.
1 <?php
3 
23 
30  public function render($conf = array()) {
31  if (!is_array($conf) || empty($conf)) {
32  $GLOBALS['TT']->setTSlogMessage('USER without configuration.', 2);
33  return '';
34  }
35  $content = '';
36  if ($this->cObj->getUserObjectType() === FALSE) {
37  // Come here only if we are not called from $TSFE->INTincScript_process()!
38  $this->cObj->setUserObjectType(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::OBJECTTYPE_USER);
39  }
40  $this->cObj->includeLibs($conf);
41  $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
42  if ($this->cObj->doConvertToUserIntObject) {
43  $this->cObj->doConvertToUserIntObject = FALSE;
44  $content = $this->cObj->USER($conf, 'INT');
45  } else {
46  $content .= $tempContent;
47  }
48  if (isset($conf['stdWrap.'])) {
49  $content = $this->cObj->stdWrap($content, $conf['stdWrap.']);
50  }
51  $this->cObj->setUserObjectType(FALSE);
52  return $content;
53  }
54 
55 }
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]