Cleanup: Updated ext_emconf.php files in system extensions
[Packages/TYPO3.CMS.git] / typo3 / sysext / adodb / class.tx_adodb_tceforms.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 2004-2009 Robert Lemke (robert@typo3.org)
6 * (c) 2006-2009 Karsten Dambekalns (karsten@typo3.org)
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 /**
27 * @author Robert Lemke <robert@typo3.org>
28 * @author Karsten Dambekalns <karsten@typo3.org>
29 */
30 class tx_adodb_tceforms {
31
32 function itemsProcFunc_dbtype(&$params, $pObj) {
33 if (is_callable('sybase_get_last_message')) $params['items'][] = array ('Sybase', 'sybase');
34 if (is_callable('odbc_error')) $params['items'][] = array ('ODBC', 'odbc');
35 if (is_callable('mysql_error')) $params['items'][] = array ('MySQL', 'mysql');
36 if (is_callable('mssql_connect')) $params['items'][] = array ('MSSQL', 'mssql');
37 if (is_callable('ocilogon')) $params['items'][] = array ('Oracle', 'oci8');
38 }
39 }
40
41 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/adodb/class.tx_adodb_tceforms.php']) {
42 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/adodb/class.tx_adodb_tceforms.php']);
43 }
44
45 ?>