$GLOBALS in Typo3

$GLOBALS in Typo3

Will man mal sehen was alles in einem Typo3 drinnen steckt kann man sich die mal mit print_r($GLOBALS); anzeigen lassen.

Doch ich Denke das man mit print_r($GLOBALS[‚TSFE‘]); auskommen sollte – Hier ein kleiner Auszug davon!\r\n

\r\ntslib_fe Object\r\n(\r\n    [id] => 4\r\n    [type] => 0\r\n    [idParts] => Array\r\n        (\r\n            [0] => 4\r\n        )\r\n\r\n    [cHash] => \r\n    [no_cache] => 1\r\n    [rootLine] => Array\r\n        (\r\n            [1] => Array\r\n                (\r\n                    [pid] => 1\r\n                    [uid] => 4\r\n                    [t3ver_oid] => 0\r\n                    [t3ver_wsid] => 0\r\n                    [t3ver_state] => 0\r\n                    [t3ver_swapmode] => 0\r\n                    [title] => titel\r\n                    [alias] => \r\n                    [nav_title] => \r\n                    [media] => bild_04.jpg\r\n                    [layout] => 0\r\n                    [hidden] => 0\r\n                    [starttime] => 0\r\n                    [endtime] => 0\r\n                    [fe_group] => \r\n                    [extendToSubpages] => 0\r\n                    [doktype] => 1\r\n                    [TSconfig] => \r\n                    [storage_pid] => 0\r\n                    [is_siteroot] => 0\r\n                    [mount_pid] => 0\r\n                    [mount_pid_ol] => 0\r\n                    [fe_login_mode] => 0\r\n                    [tx_templavoila_ds] => 1\r\n                    [tx_templavoila_to] => 2\r\n                    [tx_templavoila_next_ds] => 1\r\n                    [tx_templavoila_next_to] => 2\r\n                    [tx_realurl_pathsegment] => \r\n                    [tx_bsheaderselector_header] => 2\r\n                    [tx_bsheaderselector_file] => gflash.swf\r\n                )\r\n\r\n            [0] => Array\r\n                (\r\n                    [pid] => 0\r\n                    [uid] => 1\r\n                    [t3ver_oid] => 0\r\n                    [t3ver_wsid] => 0\r\n                    [t3ver_state] => 0\r\n                    [t3ver_swapmode] => 0\r\n                    [title] => Hotel Stern\r\n                    [alias] => \r\n                    [nav_title] => \r\n                    [media] => \r\n                    [layout] => 0\r\n                    [hidden] => 0\r\n                    [starttime] => 0\r\n                    [endtime] => 0\r\n                    [fe_group] => \r\n                    [extendToSubpages] => 0\r\n                    [doktype] => 4\r\n                    [TSconfig] => config{\r\n    typolinkCheckRootline = 1\r\n}\r\n\r\nmod.SHARED {\r\n    defaultLanguageFlag = de.gif\r\n    defaultLanguageLabel = German\r\n}\r\n\r\nTCEFORM.tt_content {\r\n    header_position.disabled = 1\r\n    header_layout.disabled = 0\r\n    header_link.disabled = 0\r\n    header_layout.removeItems = 2,3,4,5,6\r\n}\r\n\r\n\r\nTCEFORM.tt_content.header_layout.altLabels {\r\n  0 = Normale Überschrift\r\n  1 = Kleinere Unterüberschrift\r\n}\r\n\r\nTCEFORM.tt_content.bodytext.RTEfullScreenWidth = 650\r\n\r\nRTE.default {\r\n         enableWordClean = 1\r\n         removeTrailingBR = 1\r\n         removeComments = 1\r\n         removeTags = center, sdfield\r\n         removeTagsAndContents = style,script\r\n \r\n        # Buttons die gezeigt/versteckt werden\r\n        showButtons = bold, italic, underline, left, center, right, orderedlist, unorderedlist, link, image, removeformat, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge, textcolor, bgcolor, chMode\r\n        hideButtons = subscript, superscript, acronym, copy, cut, paste, showhelp, about, insertcharacter, line, justifyfull, emoticon, user, spellcheck, outdent, indent,  textstyle, textstylelabel, blockstyle, blockstylelabel, fontstyle, formatblock, fontsize, strikethrough,lefttoright, righttoleft, textindicator, inserttag,outdent, indent, undo, redo,insertcharacter\r\n        \r\n \r\n        # Hält die RTE Icons gegroupt zusammen\r\n         keepButtonGroupTogether = 1\r\n \r\n        # blendet Statusbar in htmlarea aus\r\n         showStatusBar =  0\r\n        \r\n        contentCSS = fileadmin/rte/rte_formate.css\r\n}\r\nRTE.classesAnchor {\r\n        externalLink.image >\r\n        internalLink.image >\r\n        internalLinkInNewWindow.image >        \r\n        download.image >\r\n        mail.image >\r\n}  \r\n...\r\n...\r\n...\r\n

\r\n

Schreiben Sie einen Kommentar

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.