*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @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
*
*
* @return $criteriaInstance An instance of this criteria
*/
- public final static function createSearchCriteria () {
+ public static final function createSearchCriteria () {
// Get a new instance
$criteriaInstance = new SearchCriteria();
*/
public final function addConfiguredCriteria ($criteriaKey, $configEntry) {
// Add the configuration entry as a criteria
- $value = $this->getConfigInstance()->readConfig($configEntry);
+ $value = $this->getConfigInstance()->getConfigEntry($configEntry);
$this->addCriteria($criteriaKey, $value);
}