1 | <?php |
||
38 | abstract class AbstractConfigurator implements ConfiguratorInterface |
||
39 | { |
||
40 | /** |
||
41 | * @see Typo3Mode::isFrontend() |
||
42 | */ |
||
43 | protected static function isFrontend() |
||
44 | { |
||
45 | return Typo3Mode::isFrontend(); |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @see Typo3Mode::isBackend() |
||
50 | */ |
||
51 | protected static function isBackend() |
||
52 | { |
||
53 | return Typo3Mode::isBackend(); |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @see Typo3Mode::isCli() |
||
58 | */ |
||
59 | protected static function isCli() |
||
60 | { |
||
61 | return Typo3Mode::isCli(); |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * @see Typo3Mode::isAjax() |
||
66 | */ |
||
67 | protected static function isAjax() |
||
68 | { |
||
69 | return Typo3Mode::isAjax(); |
||
70 | } |
||
71 | |||
72 | /** |
||
73 | * @see Typo3Mode::isInstall() |
||
74 | */ |
||
75 | protected static function isInstall() |
||
76 | { |
||
77 | return Typo3Mode::isInstall(); |
||
78 | } |
||
79 | |||
80 | /** |
||
81 | * @see Typo3Version::isVersion() |
||
82 | */ |
||
83 | protected static function isVersion($branchNumberStr) |
||
84 | { |
||
85 | return Typo3Version::isVersion($branchNumberStr); |
||
86 | } |
||
87 | |||
88 | /** |
||
89 | * @see Typo3Version::isCompatVersion() |
||
90 | */ |
||
91 | protected static function isCompatVersion($branchNumberStr) |
||
92 | { |
||
93 | return Typo3Version::isCompatVersion($branchNumberStr); |
||
94 | } |
||
95 | |||
96 | /** |
||
97 | * Called from ext_localconf.php, to be implemented in derrived classes. |
||
98 | * |
||
99 | * @param string $extensionKey Extension key |
||
100 | * @return void |
||
101 | * @api |
||
102 | */ |
||
103 | abstract public static function localconf($extensionKey); |
||
104 | |||
105 | /** |
||
106 | * Called from ext_tables.php, to be implemented in derrived classes. |
||
107 | * |
||
108 | * @param string $extensionKey Extension key |
||
109 | * @return void |
||
110 | * @api |
||
111 | */ |
||
112 | abstract public static function tables($extensionKey); |
||
113 | } |
||
114 |