* @package generis */ class common_configuration_PHPDatabaseDriver extends common_configuration_PHPExtension { // --- ASSOCIATIONS --- // --- ATTRIBUTES --- // --- OPERATIONS --- /** * Short description of method check * * @access public * @author Jerome Bogaerts, * @return common_configuration_Report */ public function check() { $returnValue = null; $report = parent::check(); $name = $this->getName(); if ($report->getStatus() == common_configuration_Report::VALID) { $report->setMessage("Database Driver '${name}' is available."); } else { $report->setMessage("Database Driver '${name}' could not be found or is unavailable."); } $returnValue = $report; return $returnValue; } }