0

How can I access the $BE_USER variable inside my Extbase controller on the front-end? I just want to know the back-end user ID which is logged in.

http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/3/6/

4

1 回答 1

3

$GLOBALS['BE_USER']...您仍然处于正常的TYPO3后端上下文中,并且可以访问任何全局变量。只要确保您只读取您真正处于后端模式的数组/对象即可。

于 2012-10-28T02:37:57.480 回答