25 protected $title =
'Integrate TypoScript Root Template';
38 $description =
'There is already at least one TypoScript root template available.';
41 $description =
'There is no TypoScript root template! However, one is required for Extbase to behave correctly.';
45 return $showUpdate > 0;
59 $status =
$GLOBALS[
'TYPO3_DB']->exec_INSERTquery(
70 $dbQueries[] = str_replace(chr(10),
' ',
$GLOBALS[
'TYPO3_DB']->debug_lastBuiltQuery);
73 $pageId =
$GLOBALS[
'TYPO3_DB']->sql_insert_id();
75 $status =
$GLOBALS[
'TYPO3_DB']->exec_INSERTquery(
79 'title' =>
'Default Root Template',
87 $dbQueries[] = str_replace(chr(10),
' ',
$GLOBALS[
'TYPO3_DB']->debug_lastBuiltQuery);
105 $rows =
$GLOBALS[
'TYPO3_DB']->exec_SELECTgetRows(
108 'pid=0 AND deleted=0',
115 if (is_array($rows) && !empty($rows)) {
131 $pageUids = array_map(
'intval', $pageUids);
132 $pageUidList = implode(
', ', $pageUids);
134 $rows =
$GLOBALS[
'TYPO3_DB']->exec_SELECTgetRows(
137 'deleted=0 AND root=1 AND pid IN (' . $pageUidList .
')',
144 if (is_array($rows)) {
performUpdate(array &$dbQueries, &$customMessages)
findRootTemplates(array $pageUids)
checkForUpdate(&$description, &$showUpdate=0)
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren't numeric.
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]