[TASK] Correct DBAL ux_* class mapping in migrations file
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_svbase.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 1999-2011 Kasper Skårhøj (kasperYYYY@typo3.com)
6 * All rights reserved
7 *
8 * This script is part of the Typo3 project. The Typo3 project is
9 * free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * The GNU General Public License can be found at
15 * http://www.gnu.org/copyleft/gpl.html.
16 * A copy is found in the textfile GPL.txt and important notices to the license
17 * from the author is found in LICENSE.txt distributed with these scripts.
18 *
19 *
20 * This script is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * This copyright notice MUST APPEAR in all copies of the script!
26 ***************************************************************/
27 /**
28 * Parent class for "Services" classes
29 *
30 * TODO: temp files are not removed
31 *
32 * @author René Fritz <r.fritz@colorcube.de>
33 */
34 // General error - something went wrong
35 define('T3_ERR_SV_GENERAL', -1);
36 // During execution it showed that the service is not available and should be ignored. The service itself should call $this->setNonAvailable()
37 define('T3_ERR_SV_NOT_AVAIL', -2);
38 // Passed subtype is not possible with this service
39 define('T3_ERR_SV_WRONG_SUBTYPE', -3);
40 // Passed subtype is not possible with this service
41 define('T3_ERR_SV_NO_INPUT', -4);
42 // File not found which the service should process
43 define('T3_ERR_SV_FILE_NOT_FOUND', -20);
44 // File not readable
45 define('T3_ERR_SV_FILE_READ', -21);
46 // File not writable
47 define('T3_ERR_SV_FILE_WRITE', -22);
48 // Passed subtype is not possible with this service
49 define('T3_ERR_SV_PROG_NOT_FOUND', -40);
50 // Passed subtype is not possible with this service
51 define('T3_ERR_SV_PROG_FAILED', -41);
52 /*
53 * @deprecated since 6.0, the classname t3lib_svbase and this file is obsolete
54 * and will be removed by 7.0. The class was renamed and is now located at:
55 * typo3/sysext/core/Classes/Service/AbstractService.php
56 */
57 require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('core') . 'Classes/Service/AbstractService.php';
58 ?>