Actions
Feature #22463
closedAdd a method to check if database is connected
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-04-15
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
Description
There is no reliable method to check if database is connected in TYPO3. In case if native implementation is used, $TYPO3_DB->link can be checked. In case of DBAL there is no solution without knowing DBAL internals.
The patch adds a new generic function named "isConnected" to t3lib_db and DBAL.
(issue imported from #M14120)
Files
Actions