Commit 84b16ff7 authored by Jonathan.Wage's avatar Jonathan.Wage

-

parent ec262f0c
...@@ -32,10 +32,18 @@ ...@@ -32,10 +32,18 @@
*/ */
class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface
{ {
protected $resourceUrl;
public function __construct($resourceUrl)
{
$this->resourceUrl = $resourceUrl;
}
public function prepare($sql) public function prepare($sql)
{ {
} }
public function query($sql) public function query($sql)
{ {
...@@ -50,14 +58,17 @@ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface ...@@ -50,14 +58,17 @@ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface
{ {
} }
public function lastInsertId() public function lastInsertId()
{ {
} }
public function beginTransaction() public function beginTransaction()
{ {
} }
public function commit() public function commit()
{ {
...@@ -67,6 +78,7 @@ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface ...@@ -67,6 +78,7 @@ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface
{ {
} }
public function errorCode() public function errorCode()
{ {
...@@ -76,4 +88,19 @@ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface ...@@ -76,4 +88,19 @@ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface
{ {
} }
public function getAttribute()
{
return 'sqlite';
}
public function setAttribute()
{
}
public function sqliteCreateFunction()
{
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment