mirror of
https://github.com/dg/dibi.git
synced 2025-08-12 00:54:11 +02:00
/*Nette::*/Object
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
* @package dibi
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
class DibiConnection extends Nette_Object
|
||||
class DibiConnection extends /*Nette::*/Object
|
||||
{
|
||||
/**
|
||||
* Current connection configuration.
|
||||
@@ -58,7 +58,7 @@ class DibiConnection extends Nette_Object
|
||||
/**
|
||||
* Creates object and (optionally) connects to a database.
|
||||
*
|
||||
* @param array|string|Nette_Collections_IMap connection parameters
|
||||
* @param array|string|Nette::Collections::IMap connection parameters
|
||||
* @throws DibiException
|
||||
*/
|
||||
public function __construct($config)
|
||||
@@ -67,7 +67,7 @@ class DibiConnection extends Nette_Object
|
||||
if (is_string($config)) {
|
||||
parse_str($config, $config);
|
||||
|
||||
} elseif ($config instanceof Nette_Collections_IMap) {
|
||||
} elseif ($config instanceof /*Nette::Collections::*/IMap) {
|
||||
$config = $config->toArray();
|
||||
}
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
* @package dibi
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
class DibiDataSource extends Nette_Object implements IDataSource
|
||||
class DibiDataSource extends /*Nette::*/Object implements IDataSource
|
||||
{
|
||||
/** @var DibiConnection */
|
||||
private $connection;
|
||||
|
@@ -42,7 +42,7 @@ class DibiException extends Exception
|
||||
* @package dibi
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
class DibiDriverException extends DibiException implements Nette_IDebuggable
|
||||
class DibiDriverException extends DibiException implements /*Nette::*/IDebuggable
|
||||
{
|
||||
/** @var string */
|
||||
private static $errorMsg;
|
||||
@@ -87,7 +87,7 @@ class DibiDriverException extends DibiException implements Nette_IDebuggable
|
||||
|
||||
|
||||
|
||||
/********************* interface Nette_IDebuggable ****************d*g**/
|
||||
/********************* interface Nette::IDebuggable ****************d*g**/
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -27,7 +27,7 @@
|
||||
* @package dibi
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
final class DibiLogger extends Nette_Object
|
||||
final class DibiLogger extends /*Nette::*/Object
|
||||
{
|
||||
/** @var string Name of the file where SQL errors should be logged */
|
||||
private $file;
|
||||
|
@@ -41,7 +41,7 @@
|
||||
* @package dibi
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
class DibiResult extends Nette_Object implements IDataSource
|
||||
class DibiResult extends /*Nette::*/Object implements IDataSource
|
||||
{
|
||||
/**
|
||||
* IDibiDriver.
|
||||
|
@@ -26,7 +26,7 @@
|
||||
* @package dibi
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
abstract class DibiTable extends Nette_Object
|
||||
abstract class DibiTable extends /*Nette::*/Object
|
||||
{
|
||||
/** @var string primary key mask */
|
||||
public static $primaryMask = 'id';
|
||||
|
@@ -27,7 +27,7 @@
|
||||
* @package dibi
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
final class DibiTranslator extends Nette_Object
|
||||
final class DibiTranslator extends /*Nette::*/Object
|
||||
{
|
||||
/** @var string */
|
||||
public $sql;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
* Default implemenation of IDibiVariable.
|
||||
* @package dibi
|
||||
*/
|
||||
class DibiVariable extends Nette_Object implements IDibiVariable
|
||||
class DibiVariable extends /*Nette::*/Object implements IDibiVariable
|
||||
{
|
||||
/** @var mixed */
|
||||
public $value;
|
||||
|
Reference in New Issue
Block a user