mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 05:37:39 +02:00
added: throw new DibiException(__METHOD__ . ' is not implemented')
This commit is contained in:
@@ -100,7 +100,7 @@ class DibiMSSqlDriver extends DibiDriver
|
|||||||
|
|
||||||
public function insertId()
|
public function insertId()
|
||||||
{
|
{
|
||||||
return FALSE;
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -155,7 +155,7 @@ class DibiMSSqlDriver extends DibiDriver
|
|||||||
|
|
||||||
public function getMetaData()
|
public function getMetaData()
|
||||||
{
|
{
|
||||||
trigger_error('Meta is not implemented yet.', E_USER_WARNING);
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -193,7 +193,7 @@ class DibiMySqlDriver extends DibiDriver
|
|||||||
|
|
||||||
public function getMetaData()
|
public function getMetaData()
|
||||||
{
|
{
|
||||||
trigger_error('Meta is not implemented yet.', E_USER_WARNING);
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -169,7 +169,7 @@ class DibiMySqliDriver extends DibiDriver
|
|||||||
|
|
||||||
public function getMetaData()
|
public function getMetaData()
|
||||||
{
|
{
|
||||||
trigger_error('Meta is not implemented yet.', E_USER_WARNING);
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -180,7 +180,7 @@ class DibiOdbcDriver extends DibiDriver
|
|||||||
|
|
||||||
public function getMetaData()
|
public function getMetaData()
|
||||||
{
|
{
|
||||||
trigger_error('Meta is not implemented yet.', E_USER_WARNING);
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -129,8 +129,7 @@ class DibiPdoDriver extends DibiDriver
|
|||||||
public function escape($value, $appendQuotes = TRUE)
|
public function escape($value, $appendQuotes = TRUE)
|
||||||
{
|
{
|
||||||
if (!$appendQuotes) {
|
if (!$appendQuotes) {
|
||||||
trigger_error('dibi: escaping without qoutes is not supported by PDO', E_USER_WARNING);
|
throw new DibiException('Escaping without qoutes is not supported by PDO');
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
return $this->getConnection()->quote($value);
|
return $this->getConnection()->quote($value);
|
||||||
}
|
}
|
||||||
@@ -147,7 +146,7 @@ class DibiPdoDriver extends DibiDriver
|
|||||||
|
|
||||||
public function getMetaData()
|
public function getMetaData()
|
||||||
{
|
{
|
||||||
trigger_error('Meta is not implemented yet.', E_USER_WARNING);
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -157,7 +156,7 @@ class DibiPdoDriver extends DibiDriver
|
|||||||
*/
|
*/
|
||||||
public function applyLimit(&$sql, $limit, $offset = 0)
|
public function applyLimit(&$sql, $limit, $offset = 0)
|
||||||
{
|
{
|
||||||
trigger_error('Meta is not implemented.', E_USER_WARNING);
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
} // class DibiPdoDriver
|
} // class DibiPdoDriver
|
||||||
|
@@ -170,7 +170,7 @@ class DibiPostgreDriver extends DibiDriver
|
|||||||
|
|
||||||
public function getMetaData()
|
public function getMetaData()
|
||||||
{
|
{
|
||||||
trigger_error('Meta is not implemented yet.', E_USER_WARNING);
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -158,7 +158,7 @@ class DibiSqliteDriver extends DibiDriver
|
|||||||
|
|
||||||
public function getMetaData()
|
public function getMetaData()
|
||||||
{
|
{
|
||||||
trigger_error('Meta is not implemented yet.', E_USER_WARNING);
|
throw new DibiException(__METHOD__ . ' is not implemented');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user