TYPO3 CMS  TYPO3_6-2
PagesViewHelper.php
Go to the documentation of this file.
1 <?php
3 
23 
30  public function render($uids = '') {
31  if (!$uids) {
32  return '';
33  }
34 
35  $content = '';
36  $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
37  'uid, title',
38  'pages',
39  'uid IN (' . $GLOBALS['TYPO3_DB']->cleanIntList($uids) . ')',
40  'uid ASC'
41  );
42  while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
43  $content .= '<li>' . htmlspecialchars($row['title']) . ' [' . htmlspecialchars($row['uid']) . ']</li>';
44  }
45  $GLOBALS['TYPO3_DB']->sql_free_result($res);
46  return '<ul>' . $content . '</ul>';
47  }
48 
49 }
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]