diff options
author | friendica <info@friendica.com> | 2013-04-17 01:47:36 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-04-17 01:47:36 -0700 |
commit | 3e1b005de0ba5e596296aed9900c44a8c3116565 (patch) | |
tree | f98bc54928faa4b07bba8ddaa2cf3ab8e88572f1 /include/dba_driver.php | |
parent | 23f897b8aedac8a99aa81ac7799ec67ca196d407 (diff) | |
download | volse-hubzilla-3e1b005de0ba5e596296aed9900c44a8c3116565.tar.gz volse-hubzilla-3e1b005de0ba5e596296aed9900c44a8c3116565.tar.bz2 volse-hubzilla-3e1b005de0ba5e596296aed9900c44a8c3116565.zip |
start of DB driver abstraction class (we'll need similar mechanisms for the GD/ImageMagick photo stuff and perhaps also for abstracting alternate "social networks")
Diffstat (limited to 'include/dba_driver.php')
-rw-r--r-- | include/dba_driver.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dba_driver.php b/include/dba_driver.php new file mode 100644 index 000000000..a1d4dfab3 --- /dev/null +++ b/include/dba_driver.php @@ -0,0 +1,10 @@ +<?php /** @file */ + +abstract class dba_driver { + + abstract protected function connect($server,$user,$pass,$db); + abstract protected function q($sql); + abstract protected function escape($str); + abstract protected function close(); + +}
\ No newline at end of file |