* @see DatabaseFrontendInterface - An interface for database frontends (front-end to the application)
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
/**
* Table name
*/
- private $tableName = "";
+ private $tableName = '';
/**
* Table columns (criteria) to store
/**
* Unique key
*/
- private $uniqueKey = "";
+ private $uniqueKey = '';
/**
* Primary key
*/
- private $primaryKey = "";
+ private $primaryKey = '';
/**
* Protected constructor
*/
public function addConfiguredCriteria ($criteriaKey, $configEntry) {
// Add configuration entry as criteria
- $value = $this->getConfigInstance()->readConfig($configEntry);
+ $value = $this->getConfigInstance()->getConfigEntry($configEntry);
$this->addCriteria($criteriaKey, $value);
}