1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-08 07:06:52 +02:00

- DibiResult: meta type Dibi::FIELD_BOOL resolves 'f' and 'F' as FALSE

This commit is contained in:
David Grudl
2008-01-02 05:25:21 +00:00
parent 041f059408
commit de4a882788
23 changed files with 80 additions and 76 deletions

View File

@@ -4,4 +4,3 @@
- odstranit podporu pro conditional query? - odstranit podporu pro conditional query?
- odstranit podporu pro meta types - odstraneno - odstranit podporu pro meta types - odstraneno
- event, log, profiler - event, log, profiler

View File

@@ -4,7 +4,7 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
@@ -12,7 +12,7 @@
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @version 0.9 (Revision: $WCREV$, Date: $WCDATE$) * @version 0.9 (Revision: $WCREV$, Date: $WCDATE$)
* @link http://dibiphp.com/ * @link http://dibiphp.com/
@@ -31,18 +31,18 @@ if (version_compare(PHP_VERSION , '5.1.0', '<')) {
// nette libraries // nette libraries
if (!class_exists('NObject', FALSE)) { require_once __FILE__ . '/../libs/NObject.php'; } if (!class_exists('NObject', FALSE)) { require_once dirname(__FILE__) . '/libs/NObject.php'; }
if (!class_exists('NException', FALSE)) { require_once __FILE__ . '/../libs/NException.php'; } if (!class_exists('NException', FALSE)) { require_once dirname(__FILE__) . '/libs/NException.php'; }
// dibi libraries // dibi libraries
require_once __FILE__ . '/../libs/DibiException.php'; require_once dirname(__FILE__) . '/libs/DibiException.php';
require_once __FILE__ . '/../libs/DibiConnection.php'; require_once dirname(__FILE__) . '/libs/DibiConnection.php';
require_once __FILE__ . '/../libs/DibiDriverInterface.php'; require_once dirname(__FILE__) . '/libs/DibiDriverInterface.php';
require_once __FILE__ . '/../libs/DibiResult.php'; require_once dirname(__FILE__) . '/libs/DibiResult.php';
require_once __FILE__ . '/../libs/DibiResultIterator.php'; require_once dirname(__FILE__) . '/libs/DibiResultIterator.php';
require_once __FILE__ . '/../libs/DibiTranslator.php'; require_once dirname(__FILE__) . '/libs/DibiTranslator.php';
require_once __FILE__ . '/../libs/DibiLogger.php'; require_once dirname(__FILE__) . '/libs/DibiLogger.php';
require_once __FILE__ . '/../libs/DibiVariable.php'; require_once dirname(__FILE__) . '/libs/DibiVariable.php';
@@ -55,7 +55,7 @@ require_once __FILE__ . '/../libs/DibiVariable.php';
* store connections info. * store connections info.
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */
@@ -142,7 +142,7 @@ class dibi
/** /**
* static class * Static class - cannot be instantiated
*/ */
final public function __construct() final public function __construct()
{ {

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -30,7 +30,7 @@
* - 'lazy' - if TRUE, connection will be established only when required * - 'lazy' - if TRUE, connection will be established only when required
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -36,7 +36,7 @@
* - 'lazy' - if TRUE, connection will be established only when required * - 'lazy' - if TRUE, connection will be established only when required
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -36,7 +36,7 @@
* - 'lazy' - if TRUE, connection will be established only when required * - 'lazy' - if TRUE, connection will be established only when required
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -29,7 +29,7 @@
* - 'lazy' - if TRUE, connection will be established only when required * - 'lazy' - if TRUE, connection will be established only when required
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -29,7 +29,7 @@
* - 'lazy' - if TRUE, connection will be established only when required * - 'lazy' - if TRUE, connection will be established only when required
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -29,7 +29,7 @@
* - 'lazy' - if TRUE, connection will be established only when required * - 'lazy' - if TRUE, connection will be established only when required
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -29,7 +29,7 @@
* - 'lazy' - if TRUE, connection will be established only when required * - 'lazy' - if TRUE, connection will be established only when required
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -30,7 +30,7 @@
* - 'format:datetime' - how to format datetime in SQL (@see date) * - 'format:datetime' - how to format datetime in SQL (@see date)
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -23,7 +23,7 @@
* dibi connection * dibi connection
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -23,7 +23,7 @@
* dibi driver interface * dibi driver interface
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -23,7 +23,7 @@
* dibi common exception * dibi common exception
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */
@@ -38,7 +38,7 @@ class DibiException extends NException
* database server exception * database server exception
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -23,7 +23,7 @@
* dibi basic logger & profiler (experimental) * dibi basic logger & profiler (experimental)
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -36,7 +36,7 @@
* </code> * </code>
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */
@@ -78,7 +78,6 @@ class DibiResult extends NObject implements IteratorAggregate, Countable
private static $types = array( private static $types = array(
dibi::FIELD_TEXT => 'string', dibi::FIELD_TEXT => 'string',
dibi::FIELD_BINARY => 'string', dibi::FIELD_BINARY => 'string',
dibi::FIELD_BOOL => 'bool',
dibi::FIELD_INTEGER => 'int', dibi::FIELD_INTEGER => 'int',
dibi::FIELD_FLOAT => 'float', dibi::FIELD_FLOAT => 'float',
dibi::FIELD_COUNTER => 'int', dibi::FIELD_COUNTER => 'int',
@@ -462,7 +461,11 @@ class DibiResult extends NObject implements IteratorAggregate, Countable
} }
if ($type === dibi::FIELD_DATE || $type === dibi::FIELD_DATETIME) { if ($type === dibi::FIELD_DATE || $type === dibi::FIELD_DATETIME) {
return strtotime($value); // !!! not good return strtotime($value);
}
if ($type === dibi::FIELD_BOOL) {
return ((bool) $value) && $value !== 'f' && $value !== 'F';
} }
return $value; return $value;

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -39,7 +39,7 @@
* </code> * </code>
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi
@@ -23,7 +23,7 @@
* dibi SQL translator * dibi SQL translator
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @package dibi * @package dibi
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */

View File

@@ -4,14 +4,14 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2005, 2007 David Grudl * @copyright Copyright (c) 2005, 2008 David Grudl
* @license http://dibiphp.com/license dibi license * @license http://dibiphp.com/license dibi license
* @link http://dibiphp.com/ * @link http://dibiphp.com/
* @package dibi * @package dibi

View File

@@ -4,26 +4,27 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2004, 2007 David Grudl * @copyright Copyright (c) 2004, 2008 David Grudl
* @license http://nettephp.com/license Nette license * @license http://nettephp.com/license Nette license
* @link http://nettephp.com/ * @link http://nettephp.com/
* @package Nette * @package Nette
*/ */
// namespace Nette;
/** /**
* Nette Exception base class * Nette Exception base class
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2004, 2007 David Grudl * @copyright Copyright (c) 2004, 2008 David Grudl
* @license http://nettephp.com/license Nette license * @license http://nettephp.com/license Nette license
* @link http://nettephp.com/ * @link http://nettephp.com/
* @package Nette * @package Nette

View File

@@ -4,19 +4,20 @@
* dibi - tiny'n'smart database abstraction layer * dibi - tiny'n'smart database abstraction layer
* ---------------------------------------------- * ----------------------------------------------
* *
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz) * Copyright (c) 2005, 2008 David Grudl aka -dgx- (http://www.dgx.cz)
* *
* This source file is subject to the "dibi license" that is bundled * This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt. * with this package in the file license.txt.
* *
* For more information please see http://dibiphp.com/ * For more information please see http://dibiphp.com/
* *
* @copyright Copyright (c) 2004, 2007 David Grudl * @copyright Copyright (c) 2004, 2008 David Grudl
* @license http://nettephp.com/license Nette license * @license http://nettephp.com/license Nette license
* @link http://nettephp.com/ * @link http://nettephp.com/
* @package Nette * @package Nette
*/ */
// namespace Nette;
/** /**
@@ -46,7 +47,7 @@
* </code> * </code>
* *
* @author David Grudl * @author David Grudl
* @copyright Copyright (c) 2004, 2007 David Grudl * @copyright Copyright (c) 2004, 2008 David Grudl
* @license http://nettephp.com/license Nette license * @license http://nettephp.com/license Nette license
* @link http://nettephp.com/ * @link http://nettephp.com/
* @package Nette * @package Nette
@@ -111,7 +112,7 @@ abstract class NObject
* Returns property value. Do not call directly. * Returns property value. Do not call directly.
* *
* @param string property name * @param string property name
* @return mixed property value or the event handler list * @return mixed property value
* @throws LogicException if the property is not defined. * @throws LogicException if the property is not defined.
*/ */
protected function &__get($name) protected function &__get($name)
@@ -200,7 +201,7 @@ abstract class NObject
/** /**
* Has property accessor? * Has property accessor?
* *
* @param string class name * @param string class name
* @param string method name * @param string method name
* @return bool * @return bool
*/ */

View File

@@ -8,7 +8,7 @@ anglick
Dibi Licence, Verze 1 Dibi Licence, Verze 1
===================== =====================
Copyright (c) 2005, 2007 David Grudl (http://www.dgx.cz) Copyright (c) 2005, 2008 David Grudl (http://www.dgx.cz)
V<EFBFBD>echna pr<70>va vyhrazena. V<EFBFBD>echna pr<70>va vyhrazena.
Tato licence je pr<70>vn<76> ujedn<64>n<EFBFBD> mezi v<>mi a Davidem Grudlem pro pot<6F>eby Tato licence je pr<70>vn<76> ujedn<64>n<EFBFBD> mezi v<>mi a Davidem Grudlem pro pot<6F>eby

View File

@@ -1,7 +1,7 @@
The Dibi License, Version 1 The Dibi License, Version 1
=========================== ===========================
Copyright (c) 2005, 2007 David Grudl (http://www.dgx.cz) Copyright (c) 2005, 2008 David Grudl (http://www.dgx.cz)
All rights reserved. All rights reserved.
This license is a legal agreement between you and David Grudl for the use This license is a legal agreement between you and David Grudl for the use

View File

@@ -1,4 +1,4 @@
Dibi (c) David Grudl, 2005-2007 (http://www.dgx.cz) Dibi (c) David Grudl, 2005-2008 (http://www.dgx.cz)