}
// Create an instance of a DatabaseResult class with the given result
- $resultInstance = DatabaseResult::createDatabaseResult($result);
+ $resultInstance = ObjectFactory::createObjectByConfiguredName('database_result_class', array($result));
// And return the instance
return $resultInstance;
// CFG: FILE-IO-CLASS
$cfg->setConfigEntry('file_io_class', 'FileIoHandler');
+// CFG: DATABASE-RESULT-CLASS
+$cfg->setConfigEntry('database_result_class', 'DatabaseResult');
+
// CFG: FILTER-CHAIN-CLASS
$cfg->setConfigEntry('filter_chain_class', 'FilterChain');