mirror of
https://github.com/dg/dibi.git
synced 2025-08-08 07:06:52 +02:00
typos
This commit is contained in:
@@ -33,26 +33,32 @@ if (version_compare(PHP_VERSION, '5.2.0', '<')) {
|
||||
* Compatibility with Nette
|
||||
*/
|
||||
if (!class_exists('NotImplementedException', FALSE)) {
|
||||
/** @package exceptions */
|
||||
class NotImplementedException extends LogicException {}
|
||||
}
|
||||
|
||||
if (!class_exists('NotSupportedException', FALSE)) {
|
||||
/** @package exceptions */
|
||||
class NotSupportedException extends LogicException {}
|
||||
}
|
||||
|
||||
if (!class_exists('MemberAccessException', FALSE)) {
|
||||
/** @package exceptions */
|
||||
class MemberAccessException extends LogicException {}
|
||||
}
|
||||
|
||||
if (!class_exists('InvalidStateException', FALSE)) {
|
||||
/** @package exceptions */
|
||||
class InvalidStateException extends RuntimeException {}
|
||||
}
|
||||
|
||||
if (!class_exists('IOException', FALSE)) {
|
||||
/** @package exceptions */
|
||||
class IOException extends RuntimeException {}
|
||||
}
|
||||
|
||||
if (!class_exists('FileNotFoundException', FALSE)) {
|
||||
/** @package exceptions */
|
||||
class FileNotFoundException extends IOException {}
|
||||
}
|
||||
|
||||
@@ -67,7 +73,7 @@ if (!class_exists('DateTime53', FALSE)) {
|
||||
|
||||
|
||||
/**
|
||||
* Back-compatibility
|
||||
* @deprecated
|
||||
*/
|
||||
class DibiVariable extends DateTime53
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*
|
||||
* @author Tomáš Kraina, Roman Sklenář
|
||||
* @copyright Copyright (c) 2010
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiFirebirdDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
@@ -804,7 +804,7 @@ class DibiFirebirdDriver extends DibiObject implements IDibiDriver
|
||||
*
|
||||
* @author Roman Sklenář
|
||||
* @copyright Copyright (c) 2010
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiProcedureException extends DibiException
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiMsSqlDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiMsSql2005Driver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiMySqlDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiMySqliDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiOdbcDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiOracleDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* - 'lazy' - if TRUE, connection will be established only when required
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiPdoDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiPostgreDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiSqliteDriver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @license http://dibiphp.com/license dibi license
|
||||
* @link http://dibiphp.com
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* - 'resource' - connection resource (optional)
|
||||
*
|
||||
* @copyright Copyright (c) 2005, 2010 David Grudl
|
||||
* @package dibi
|
||||
* @package dibi\drivers
|
||||
*/
|
||||
class DibiSqlite3Driver extends DibiObject implements IDibiDriver
|
||||
{
|
||||
|
@@ -466,12 +466,3 @@ class DibiFluent extends DibiObject implements IDataSource
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// PHP < 5.2 compatibility
|
||||
if (!function_exists('array_fill_keys')) {
|
||||
function array_fill_keys($keys, $value)
|
||||
{
|
||||
return array_combine($keys, array_fill(0, count($keys), $value));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user