summaryrefslogtreecommitdiffstats
path: root/codebase/db_common.php
diff options
context:
space:
mode:
authorStanislav-Wolski <stanislau.wolski@gmail.com>2012-05-28 17:29:54 +0300
committerStanislav-Wolski <stanislau.wolski@gmail.com>2012-05-28 17:29:54 +0300
commitf412231c95a2d54a1061b597b4032227e5e0bdb5 (patch)
tree0a4b388edebba591e6fd19dbe1cea2f7978d7294 /codebase/db_common.php
parent6c5b0c64092ad095d55412b5765c14bd121b508c (diff)
downloadconnector-php-f412231c95a2d54a1061b597b4032227e5e0bdb5.zip
connector-php-f412231c95a2d54a1061b597b4032227e5e0bdb5.tar.gz
connector-php-f412231c95a2d54a1061b597b4032227e5e0bdb5.tar.bz2
[add] csrf defense and render_array functionality
Diffstat (limited to 'codebase/db_common.php')
-rw-r--r--codebase/db_common.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/codebase/db_common.php b/codebase/db_common.php
index 7d738ee..8b5935a 100644
--- a/codebase/db_common.php
+++ b/codebase/db_common.php
@@ -930,6 +930,9 @@ class ArrayDBDataWrapper extends DBDataWrapper{
if ($res->index < sizeof($res->data))
return $res->data[$res->index++];
}
+ public function select($sql){
+ return new ArrayQueryWrapper($this->connection);
+ }
public function query($sql){
throw new Exception("Not implemented");
}