Class: HostList

HostList

new HostList()

Contains a list of hosts
Properties:
Name Type Description
hosts Array Array of hosts.
Source:
See:
Example
load hosts
	var hl = new HostList();
	hl.load({
	  onSuccess:function(){
		alert(hl.hosts.length);
	  }
	});

Methods

generateUrl()

Overrides Resource's generateUrl method to return the request url
Source:
See:

loadPreset()

Overrides Resource's loadPreset method.
Source:
See:

loadSet(rObject)

Overrides Resource's loadSet method to set local variables after request.
Parameters:
Name Type Description
rObject json JSON representation of the loaded data.
Source:
See: