projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
module cli pour appels en ligne de commande
[mtweb]
/
mw
/
app
/
data
/
mw_sgbd.php
diff --git
a/mw/app/data/mw_sgbd.php
b/mw/app/data/mw_sgbd.php
index
faf88e2
..
c3ca66e
100644
(file)
--- a/
mw/app/data/mw_sgbd.php
+++ b/
mw/app/data/mw_sgbd.php
@@
-14,6
+14,10
@@
return $this->sgbd_impl->extention_ok($this->env);
}
return $this->sgbd_impl->extention_ok($this->env);
}
+ function authentication_required(){
+ return $this->sgbd_impl->authentication_required();
+ }
+
function connect($host, $base, $user, $password){
return $this->sgbd_impl->connect($host, $base, $user, $password);
}
function connect($host, $base, $user, $password){
return $this->sgbd_impl->connect($host, $base, $user, $password);
}
@@
-113,9
+117,9
@@
return $this->sgbd_impl->fetch_data($dh);
}
return $this->sgbd_impl->fetch_data($dh);
}
- function add_data($data_path, $data){
+ function add_data($data_path, $data
, $index = null
){
if(!method_exists($this->sgbd_impl, "add_data")) return false;
if(!method_exists($this->sgbd_impl, "add_data")) return false;
- return $this->sgbd_impl->add_data($data_path, $data);
+ return $this->sgbd_impl->add_data($data_path, $data
, $index
);
}
function last_index($dh){
}
function last_index($dh){