1
0
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:
David Grudl
2008-08-25 18:55:50 +00:00
parent c438b72972
commit 119d5a1995
8 changed files with 104 additions and 45 deletions

View File

@@ -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']);
}
}