From 84b16ff70f823afb338251501c1a82b2f88d705f Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Tue, 9 Oct 2007 22:45:37 +0000 Subject: [PATCH] - --- lib/Doctrine/Adapter/Resource.php | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/lib/Doctrine/Adapter/Resource.php b/lib/Doctrine/Adapter/Resource.php index 96dcbc489..8a2462767 100644 --- a/lib/Doctrine/Adapter/Resource.php +++ b/lib/Doctrine/Adapter/Resource.php @@ -32,10 +32,18 @@ */ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface { + protected $resourceUrl; + + public function __construct($resourceUrl) + { + $this->resourceUrl = $resourceUrl; + } + public function prepare($sql) { } + public function query($sql) { @@ -50,14 +58,17 @@ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface { } + public function lastInsertId() { } + public function beginTransaction() { } + public function commit() { @@ -67,6 +78,7 @@ class Doctrine_Adapter_Resource implements Doctrine_Adapter_Interface { } + public function errorCode() { @@ -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