@@ -26,8 +26,7 @@ discard block |
||
26 | 26 | * @subpackage dlf |
27 | 27 | * @access public |
28 | 28 | */ |
29 | -class ItemsProcFunc |
|
30 | -{ |
|
29 | +class ItemsProcFunc { |
|
31 | 30 | /** |
32 | 31 | * @var int |
33 | 32 | */ |
@@ -42,8 +41,7 @@ discard block |
||
42 | 41 | * |
43 | 42 | * @return void |
44 | 43 | */ |
45 | - public function toolList(&$params) |
|
46 | - { |
|
44 | + public function toolList(&$params) { |
|
47 | 45 | foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['dlf/Classes/Plugin/Toolbox.php']['tools'] as $class => $label) { |
48 | 46 | $params['items'][] = [Helper::getLanguageService()->sL($label), $class]; |
49 | 47 | } |
@@ -56,8 +54,7 @@ discard block |
||
56 | 54 | * |
57 | 55 | * @return void |
58 | 56 | */ |
59 | - public function __construct() |
|
60 | - { |
|
57 | + public function __construct() { |
|
61 | 58 | $objectManager = GeneralUtility::makeInstance(ObjectManager::class); |
62 | 59 | $configurationManager = $objectManager->get(ConfigurationManager::class); |
63 | 60 | // we must get the storagePid from full TypoScript setup at this point. |
@@ -74,8 +71,7 @@ discard block |
||
74 | 71 | * |
75 | 72 | * @return void |
76 | 73 | */ |
77 | - public function extendedSearchList(&$params) |
|
78 | - { |
|
74 | + public function extendedSearchList(&$params) { |
|
79 | 75 | $this->generateList( |
80 | 76 | $params, |
81 | 77 | 'label,index_name', |
@@ -116,8 +112,7 @@ discard block |
||
116 | 112 | * |
117 | 113 | * @return void |
118 | 114 | */ |
119 | - protected function generateList(&$params, $fields, $table, $sorting, $andWhere = '') |
|
120 | - { |
|
115 | + protected function generateList(&$params, $fields, $table, $sorting, $andWhere = '') { |
|
121 | 116 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) |
122 | 117 | ->getQueryBuilderForTable($table); |
123 | 118 |