summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/httptest.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-31 16:06:09 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-31 16:06:09 +0000
commit5298227fab3d35cccaf6511f1e8766f3beaa3709 (patch)
tree36399ce27c226d92e83701e72afc738a79537272 /frontends/php/include/httptest.inc.php
parent771bd2ca1c72c0a6b0289a0b1f871d33387bcec9 (diff)
downloadzabbix-5298227fab3d35cccaf6511f1e8766f3beaa3709.tar.gz
zabbix-5298227fab3d35cccaf6511f1e8766f3beaa3709.tar.xz
zabbix-5298227fab3d35cccaf6511f1e8766f3beaa3709.zip
improoved draft version of httpmonitoring
git-svn-id: svn://svn.zabbix.com/trunk@3777 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/httptest.inc.php')
-rw-r--r--frontends/php/include/httptest.inc.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontends/php/include/httptest.inc.php b/frontends/php/include/httptest.inc.php
index bc91c798..1cd20aca 100644
--- a/frontends/php/include/httptest.inc.php
+++ b/frontends/php/include/httptest.inc.php
@@ -375,8 +375,24 @@
}
return true;
}
+
function get_httptest_by_httptestid($httptestid)
{
return DBfetch(DBselect('select * from httptest where httptestid='.$httptestid));
}
+
+ function get_httpsteps_by_httptestid($httptestid)
+ {
+ return DBselect('select * from httpstep where httptestid='.$httptestid);
+ }
+
+ function get_httpstep_by_httpstepid($httpstepid)
+ {
+ return DBfetch(DBselect('select * from httpstep where httpstepid='.$httpstepid));
+ }
+
+ function get_httpstep_by_no($httptestid, $no)
+ {
+ return DBfetch(DBselect('select * from httpstep where httptestid='.$httptestid.' and no='.$no));
+ }
?>