cvs: pear /MDB2/MDB2/Driver/Function sqlite.php
| From: | Lukas Smith | Date: | Sun, 16 Oct 2005 09:44:48 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Function sqlite.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35589@lists.php.net to get a copy of this message | ||
lsmith Sun Oct 16 05:44:48 2005 EDT
Modified files:
/pear/MDB2/MDB2/Driver/Function sqlite.php
Log:
- added constructor for sqlite to create UDF's on the fly
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Function/sqlite.php?r1=1.1&r2=1.2&ty=u
Index: pear/MDB2/MDB2/Driver/Function/sqlite.php
diff -u pear/MDB2/MDB2/Driver/Function/sqlite.php:1.1 pear/MDB2/MDB2/Driver/Function/sqlite.php:1.2
--- pear/MDB2/MDB2/Driver/Function/sqlite.php:1.1 Sun Oct 16 04:56:51 2005
+++ pear/MDB2/MDB2/Driver/Function/sqlite.php Sun Oct 16 05:44:47 2005
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: sqlite.php,v 1.1 2005/10/16 08:56:51 lsmith Exp $
+// $Id: sqlite.php,v 1.2 2005/10/16 09:44:47 lsmith Exp $
//
require_once 'MDB2/Driver/Function/Common.php';
@@ -56,6 +56,17 @@
*/
class MDB2_Driver_Function_sqlite extends MDB2_Driver_Function_Common
{
+ // {{{ constructor
+
+ /**
+ * Constructor
+ */
+ function __construct($db_index)
+ {
+ parent::__construct($db_index);
+ // create all sorts of UDFs
+ }
+
// {{{ now()
/**