|
1
|
|
|
<?php |
|
2
|
|
|
namespace ApacheSolrForTypo3\Solr; |
|
3
|
|
|
/*************************************************************** |
|
4
|
|
|
* Copyright notice |
|
5
|
|
|
* |
|
6
|
|
|
* (c) 2009-2015 Ingo Renner <[email protected]> |
|
7
|
|
|
* All rights reserved |
|
8
|
|
|
* |
|
9
|
|
|
* This script is part of the TYPO3 project. The TYPO3 project is |
|
10
|
|
|
* free software; you can redistribute it and/or modify |
|
11
|
|
|
* it under the terms of the GNU General Public License as published by |
|
12
|
|
|
* the Free Software Foundation; either version 2 of the License, or |
|
13
|
|
|
* (at your option) any later version. |
|
14
|
|
|
* |
|
15
|
|
|
* The GNU General Public License can be found at |
|
16
|
|
|
* http://www.gnu.org/copyleft/gpl.html. |
|
17
|
|
|
* |
|
18
|
|
|
* This script is distributed in the hope that it will be useful, |
|
19
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21
|
|
|
* GNU General Public License for more details. |
|
22
|
|
|
* |
|
23
|
|
|
* This copyright notice MUST APPEAR in all copies of the script! |
|
24
|
|
|
***************************************************************/ |
|
25
|
|
|
|
|
26
|
|
|
use TYPO3\CMS\Core\Utility\GeneralUtility; |
|
27
|
|
|
|
|
28
|
|
|
/** |
|
29
|
|
|
* command resolver |
|
30
|
|
|
* |
|
31
|
|
|
* @deprecated Not supported with fluid templating, will be removed in 8.0 |
|
32
|
|
|
* @author Ingo Renner <[email protected]> |
|
33
|
|
|
*/ |
|
34
|
|
|
class CommandResolver { |
|
35
|
|
|
|
|
36
|
|
|
/** |
|
37
|
|
|
* This method is deprecated an only the signature is kept, to avoid error during the update from 6.1.0 to 7.0.0 |
|
38
|
|
|
* |
|
39
|
|
|
* @deprecated Not supported with fluid templating, will be removed in 8.0 |
|
40
|
|
|
* @param string $plugins comma separated list of plugin names (without pi_ prefix) |
|
41
|
|
|
* @param string $commandName command name |
|
42
|
|
|
* @param string $commandClass name of the class implementing the command |
|
43
|
|
|
* @param int $requirements Bitmask of which requirements need to be met for a command to be executed |
|
44
|
|
|
*/ |
|
45
|
|
|
public static function registerPluginCommand($plugins, $commandName, $commandClass, $requirements = 2) |
|
|
|
|
|
|
46
|
|
|
{ |
|
47
|
|
|
GeneralUtility::logDeprecatedFunction(); |
|
48
|
|
|
} |
|
49
|
|
|
} |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.