diff --git a/TODO.txt b/TODO.txt index c116f5dd..8e889c4c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,4 +4,3 @@ - odstranit podporu pro conditional query? - odstranit podporu pro meta types - odstraneno - event, log, profiler - diff --git a/dibi/dibi.php b/dibi/dibi.php index 713f1ac9..72cd4874 100644 --- a/dibi/dibi.php +++ b/dibi/dibi.php @@ -4,7 +4,7 @@ * 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 * with this package in the file license.txt. @@ -12,7 +12,7 @@ * For more information please see http://dibiphp.com/ * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @license http://dibiphp.com/license dibi license * @version 0.9 (Revision: $WCREV$, Date: $WCDATE$) * @link http://dibiphp.com/ @@ -31,18 +31,18 @@ if (version_compare(PHP_VERSION , '5.1.0', '<')) { // nette libraries -if (!class_exists('NObject', FALSE)) { require_once __FILE__ . '/../libs/NObject.php'; } -if (!class_exists('NException', FALSE)) { require_once __FILE__ . '/../libs/NException.php'; } +if (!class_exists('NObject', FALSE)) { require_once dirname(__FILE__) . '/libs/NObject.php'; } +if (!class_exists('NException', FALSE)) { require_once dirname(__FILE__) . '/libs/NException.php'; } // dibi libraries -require_once __FILE__ . '/../libs/DibiException.php'; -require_once __FILE__ . '/../libs/DibiConnection.php'; -require_once __FILE__ . '/../libs/DibiDriverInterface.php'; -require_once __FILE__ . '/../libs/DibiResult.php'; -require_once __FILE__ . '/../libs/DibiResultIterator.php'; -require_once __FILE__ . '/../libs/DibiTranslator.php'; -require_once __FILE__ . '/../libs/DibiLogger.php'; -require_once __FILE__ . '/../libs/DibiVariable.php'; +require_once dirname(__FILE__) . '/libs/DibiException.php'; +require_once dirname(__FILE__) . '/libs/DibiConnection.php'; +require_once dirname(__FILE__) . '/libs/DibiDriverInterface.php'; +require_once dirname(__FILE__) . '/libs/DibiResult.php'; +require_once dirname(__FILE__) . '/libs/DibiResultIterator.php'; +require_once dirname(__FILE__) . '/libs/DibiTranslator.php'; +require_once dirname(__FILE__) . '/libs/DibiLogger.php'; +require_once dirname(__FILE__) . '/libs/DibiVariable.php'; @@ -55,7 +55,7 @@ require_once __FILE__ . '/../libs/DibiVariable.php'; * store connections info. * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ @@ -142,7 +142,7 @@ class dibi /** - * static class + * Static class - cannot be instantiated */ final public function __construct() { diff --git a/dibi/drivers/mssql.php b/dibi/drivers/mssql.php index b92ca957..cff82e3a 100644 --- a/dibi/drivers/mssql.php +++ b/dibi/drivers/mssql.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -30,7 +30,7 @@ * - 'lazy' - if TRUE, connection will be established only when required * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/drivers/mysql.php b/dibi/drivers/mysql.php index 91f23c7a..04552778 100644 --- a/dibi/drivers/mysql.php +++ b/dibi/drivers/mysql.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -36,7 +36,7 @@ * - 'lazy' - if TRUE, connection will be established only when required * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/drivers/mysqli.php b/dibi/drivers/mysqli.php index 65674159..ab036258 100644 --- a/dibi/drivers/mysqli.php +++ b/dibi/drivers/mysqli.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -36,7 +36,7 @@ * - 'lazy' - if TRUE, connection will be established only when required * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/drivers/odbc.php b/dibi/drivers/odbc.php index e49c2b98..543cb7d6 100644 --- a/dibi/drivers/odbc.php +++ b/dibi/drivers/odbc.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -29,7 +29,7 @@ * - 'lazy' - if TRUE, connection will be established only when required * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/drivers/oracle.php b/dibi/drivers/oracle.php index 287b373d..7d306512 100644 --- a/dibi/drivers/oracle.php +++ b/dibi/drivers/oracle.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -29,7 +29,7 @@ * - 'lazy' - if TRUE, connection will be established only when required * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/drivers/pdo.php b/dibi/drivers/pdo.php index 692b1cf6..fe5e2362 100644 --- a/dibi/drivers/pdo.php +++ b/dibi/drivers/pdo.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -29,7 +29,7 @@ * - 'lazy' - if TRUE, connection will be established only when required * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/drivers/postgre.php b/dibi/drivers/postgre.php index f7886b2c..5b0f87f7 100644 --- a/dibi/drivers/postgre.php +++ b/dibi/drivers/postgre.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -29,7 +29,7 @@ * - 'lazy' - if TRUE, connection will be established only when required * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/drivers/sqlite.php b/dibi/drivers/sqlite.php index ea57b460..c79d92c0 100644 --- a/dibi/drivers/sqlite.php +++ b/dibi/drivers/sqlite.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -30,7 +30,7 @@ * - 'format:datetime' - how to format datetime in SQL (@see date) * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/libs/DibiConnection.php b/dibi/libs/DibiConnection.php index 4c60fbfd..06f56a3e 100644 --- a/dibi/libs/DibiConnection.php +++ b/dibi/libs/DibiConnection.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -23,7 +23,7 @@ * dibi connection * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/libs/DibiDriverInterface.php b/dibi/libs/DibiDriverInterface.php index b64dd1c7..e419c568 100644 --- a/dibi/libs/DibiDriverInterface.php +++ b/dibi/libs/DibiDriverInterface.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -23,7 +23,7 @@ * dibi driver interface * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/libs/DibiException.php b/dibi/libs/DibiException.php index 7f9b7eeb..f50c38fa 100644 --- a/dibi/libs/DibiException.php +++ b/dibi/libs/DibiException.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -23,7 +23,7 @@ * dibi common exception * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ @@ -38,7 +38,7 @@ class DibiException extends NException * database server exception * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/libs/DibiLogger.php b/dibi/libs/DibiLogger.php index 92f26deb..b73402d7 100644 --- a/dibi/libs/DibiLogger.php +++ b/dibi/libs/DibiLogger.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -23,7 +23,7 @@ * dibi basic logger & profiler (experimental) * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/libs/DibiResult.php b/dibi/libs/DibiResult.php index 28508a4b..9bb2c770 100644 --- a/dibi/libs/DibiResult.php +++ b/dibi/libs/DibiResult.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -36,7 +36,7 @@ * * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ @@ -78,7 +78,6 @@ class DibiResult extends NObject implements IteratorAggregate, Countable private static $types = array( dibi::FIELD_TEXT => 'string', dibi::FIELD_BINARY => 'string', - dibi::FIELD_BOOL => 'bool', dibi::FIELD_INTEGER => 'int', dibi::FIELD_FLOAT => 'float', dibi::FIELD_COUNTER => 'int', @@ -462,7 +461,11 @@ class DibiResult extends NObject implements IteratorAggregate, Countable } 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; diff --git a/dibi/libs/DibiResultIterator.php b/dibi/libs/DibiResultIterator.php index c16379f0..9965f018 100644 --- a/dibi/libs/DibiResultIterator.php +++ b/dibi/libs/DibiResultIterator.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -39,7 +39,7 @@ * * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/libs/DibiTranslator.php b/dibi/libs/DibiTranslator.php index c09ad78f..7b6b4127 100644 --- a/dibi/libs/DibiTranslator.php +++ b/dibi/libs/DibiTranslator.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi @@ -23,7 +23,7 @@ * dibi SQL translator * * @author David Grudl - * @copyright Copyright (c) 2005, 2007 David Grudl + * @copyright Copyright (c) 2005, 2008 David Grudl * @package dibi * @version $Revision$ $Date$ */ diff --git a/dibi/libs/DibiVariable.php b/dibi/libs/DibiVariable.php index 8e29618a..04b61466 100644 --- a/dibi/libs/DibiVariable.php +++ b/dibi/libs/DibiVariable.php @@ -4,14 +4,14 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://dibiphp.com/ * @package dibi diff --git a/dibi/libs/NException.php b/dibi/libs/NException.php index 3dd7291f..bf877701 100644 --- a/dibi/libs/NException.php +++ b/dibi/libs/NException.php @@ -4,26 +4,27 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://nettephp.com/ * @package Nette */ +// namespace Nette; /** * Nette Exception base class * * @author David Grudl - * @copyright Copyright (c) 2004, 2007 David Grudl + * @copyright Copyright (c) 2004, 2008 David Grudl * @license http://nettephp.com/license Nette license * @link http://nettephp.com/ * @package Nette diff --git a/dibi/libs/NObject.php b/dibi/libs/NObject.php index 1e0b27b4..64fff0fa 100644 --- a/dibi/libs/NObject.php +++ b/dibi/libs/NObject.php @@ -4,19 +4,20 @@ * 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 * with this package in the file license.txt. * * 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 * @link http://nettephp.com/ * @package Nette */ +// namespace Nette; /** @@ -46,7 +47,7 @@ * * * @author David Grudl - * @copyright Copyright (c) 2004, 2007 David Grudl + * @copyright Copyright (c) 2004, 2008 David Grudl * @license http://nettephp.com/license Nette license * @link http://nettephp.com/ * @package Nette @@ -111,7 +112,7 @@ abstract class NObject * Returns property value. Do not call directly. * * @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. */ protected function &__get($name) @@ -200,7 +201,7 @@ abstract class NObject /** * Has property accessor? * - * @param string class name + * @param string class name * @param string method name * @return bool */ diff --git a/license.cs.txt b/license.cs.txt index ab82c359..32199971 100644 --- a/license.cs.txt +++ b/license.cs.txt @@ -8,7 +8,7 @@ anglick 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šechna práva vyhrazena. Tato licence je právní ujednání mezi vámi a Davidem Grudlem pro potřeby diff --git a/license.txt b/license.txt index 520ac41b..342a8533 100644 --- a/license.txt +++ b/license.txt @@ -1,7 +1,7 @@ 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. This license is a legal agreement between you and David Grudl for the use diff --git a/readme.txt b/readme.txt index 9c4d75f7..bc4171e5 100644 --- a/readme.txt +++ b/readme.txt @@ -1,4 +1,4 @@ -Dibi (c) David Grudl, 2005-2007 (http://www.dgx.cz) +Dibi (c) David Grudl, 2005-2008 (http://www.dgx.cz)