Added initial methods for getting groups, hosts apps and items.

This commit is contained in:
Alexander Zobnin
2016-01-11 22:26:37 +03:00
parent dc00766458
commit 7b9ddade2e

View File

@@ -34,10 +34,22 @@ function (angular, _) {
var p = ZabbixCache.prototype; var p = ZabbixCache.prototype;
p.getGroups = function() {
return this._groups;
};
p.getHosts = function() { p.getHosts = function() {
return this._hosts; return this._hosts;
}; };
p.getApplications = function() {
return this._applications;
};
p.getItems = function() {
return this._items;
};
/** /**
* Group Zabbix applications by name * Group Zabbix applications by name
* @param {[type]} applications [description] * @param {[type]} applications [description]