mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 13:17:58 +02:00
typos
This commit is contained in:
@@ -199,7 +199,7 @@ class DibiMsSqlDriver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -199,7 +199,7 @@ class DibiMsSql2005Driver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -271,7 +271,7 @@ class DibiMySqlDriver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -255,7 +255,7 @@ class DibiMySqliDriver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -206,7 +206,7 @@ class DibiOdbcDriver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -206,7 +206,7 @@ class DibiOracleDriver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -224,7 +224,7 @@ class DibiPdoDriver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -231,7 +231,7 @@ class DibiPostgreDriver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -218,7 +218,7 @@ class DibiSqliteDriver extends DibiObject implements IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
@@ -490,7 +490,7 @@ class DibiConnection extends DibiObject
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string unescaped string
|
* @param string unescaped string
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string escaped and quoted string
|
* @return string escaped and quoted string
|
||||||
|
@@ -34,7 +34,7 @@ class DibiException extends Exception implements /*Nette\*/IDebuggable
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct an dibi exception.
|
* Construct a dibi exception.
|
||||||
* @param string Message describing the exception
|
* @param string Message describing the exception
|
||||||
* @param int Some code
|
* @param int Some code
|
||||||
* @param string SQL command
|
* @param string SQL command
|
||||||
|
@@ -224,7 +224,7 @@ abstract class DibiObject
|
|||||||
$class = get_class($this);
|
$class = get_class($this);
|
||||||
|
|
||||||
if ($name === '') {
|
if ($name === '') {
|
||||||
throw new /*\*/MemberAccessException("Cannot read an class '$class' property without name.");
|
throw new /*\*/MemberAccessException("Cannot read a class '$class' property without name.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// property getter support
|
// property getter support
|
||||||
@@ -262,7 +262,7 @@ abstract class DibiObject
|
|||||||
$class = get_class($this);
|
$class = get_class($this);
|
||||||
|
|
||||||
if ($name === '') {
|
if ($name === '') {
|
||||||
throw new /*\*/MemberAccessException("Cannot assign to an class '$class' property without name.");
|
throw new /*\*/MemberAccessException("Cannot assign to a class '$class' property without name.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// property setter support
|
// property setter support
|
||||||
@@ -307,7 +307,7 @@ abstract class DibiObject
|
|||||||
public function __unset($name)
|
public function __unset($name)
|
||||||
{
|
{
|
||||||
$class = get_class($this);
|
$class = get_class($this);
|
||||||
throw new /*\*/MemberAccessException("Cannot unset an property $class::\$$name.");
|
throw new /*\*/MemberAccessException("Cannot unset the property $class::\$$name.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -202,7 +202,7 @@ interface IDibiDriver
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes data for use in an SQL statement.
|
* Encodes data for use in a SQL statement.
|
||||||
* @param string value
|
* @param string value
|
||||||
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
* @param string type (dibi::TEXT, dibi::BOOL, ...)
|
||||||
* @return string encoded value
|
* @return string encoded value
|
||||||
|
Reference in New Issue
Block a user