mirror of
https://github.com/dg/dibi.git
synced 2025-08-20 21:02:05 +02:00
introduced new class constants
This commit is contained in:
@@ -89,12 +89,12 @@ class DibiResult extends DibiObject implements IDataSource
|
||||
{
|
||||
$this->driver = $driver;
|
||||
|
||||
if (!empty($config['resultWithTables'])) {
|
||||
if (!empty($config[dibi::RESULT_WITH_TABLES])) {
|
||||
$this->setWithTables(TRUE);
|
||||
}
|
||||
|
||||
if (isset($config['resultObjects'])) {
|
||||
$this->setObjects($config['resultObjects']);
|
||||
if (isset($config[dibi::RESULT_OBJECTS])) {
|
||||
$this->setObjects($config[dibi::RESULT_OBJECTS]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user