diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-02-22 16:08:35 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-02-22 16:08:35 +0000 |
| commit | cfdccc6dd4f9d313f6cdc34f62f6453a1f5a1a0b (patch) | |
| tree | f1c9d0192496011e899f91dd9575db73d5cfc77a /frontends/php/include/graphs.inc.php | |
| parent | 1e241634d9beb1dc6368d270f8be45d158c66a18 (diff) | |
| download | zabbix-cfdccc6dd4f9d313f6cdc34f62f6453a1f5a1a0b.tar.gz zabbix-cfdccc6dd4f9d313f6cdc34f62f6453a1f5a1a0b.tar.xz zabbix-cfdccc6dd4f9d313f6cdc34f62f6453a1f5a1a0b.zip | |
- added hosekeeper support for frontend (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2675 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
| -rw-r--r-- | frontends/php/include/graphs.inc.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php index fffeee25..a27402ae 100644 --- a/frontends/php/include/graphs.inc.php +++ b/frontends/php/include/graphs.inc.php @@ -65,6 +65,16 @@ return $result; } + function get_graphitem_by_itemid($itemid) + { + $result=DBselect("select * from graphs_items where itemid=$itemid"); + if(DBnum_rows($result) == 1) + { + return DBfetch($result); + } + return $result; + } + function get_graph_by_graphid($graphid) { |
