mirror of
https://github.com/dg/dibi.git
synced 2025-08-21 05:11:49 +02:00
- renamed configuration keys result:object, result:withtables and format:* to resultObject resp. resultWithTables (due compatibility with PHP 5.3 INI parser)
- updated class Object
This commit is contained in:
@@ -89,12 +89,12 @@ class DibiResult extends /*Nette::*/Object implements IDataSource
|
||||
{
|
||||
$this->driver = $driver;
|
||||
|
||||
if (!empty($config['result:withtables'])) {
|
||||
if (!empty($config['resultWithTables'])) {
|
||||
$this->setWithTables(TRUE);
|
||||
}
|
||||
|
||||
if (isset($config['result:objects'])) {
|
||||
$this->setObjects($config['result:objects']);
|
||||
if (isset($config['resultObjects'])) {
|
||||
$this->setObjects($config['resultObjects']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user