[TASK] Re-work/simplify copyright header in PHP files - Part 2
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / mod1 / index.php
1 <?php
2 /**
3 * This file is part of the TYPO3 CMS project.
4 *
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
8 *
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
11 *
12 * The TYPO3 project - inspiring people to share!
13 */
14
15 /**
16 * Module: Web>List
17 *
18 * Listing database records from the tables configured in $GLOBALS['TCA'] as they are related to the current page or root.
19 *
20 * Notice: This module and Web>Page (db_layout.php) module has a special status since they
21 * are NOT located in their actual module directories (fx. mod/web/list/) but in the
22 * backend root directory. This has some historical and practical causes.
23 *
24 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
25 */
26 \TYPO3\CMS\Backend\Utility\BackendUtility::lockRecords();
27
28 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Recordlist\\RecordList');
29 $SOBE->init();
30 $SOBE->clearCache();
31 $SOBE->main();
32 $SOBE->printContent();