TYPO3 CMS  TYPO3_6-2
ExtbaseRequirementsCheckUtility.php
Go to the documentation of this file.
1 <?php
3 
22 
28  public function getStatus() {
29  $reports = array(
30  'dbalExtensionIsInstalled' => $this->checkIfDbalExtensionIsInstalled()
31  );
32  return $reports;
33  }
34 
40  protected function checkIfDbalExtensionIsInstalled() {
41  if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('dbal')) {
42  $value = 'DBAL is loaded';
43  $message = 'The Database Abstraction Layer Extension (dbal) is loaded. Extbase does not fully support dbal at the moment. If you are aware of this fact or don\'t make use of the incompatible parts on this installation, you can ignore this notice.';
45  } else {
46  $value = 'DBAL is not loaded';
47  $message = '';
49  }
50  return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Reports\\Status', 'DBAL Extension', $value, $message, $status);
51  }
52 }