new HostList()
Contains a list of hosts
- Source:
- Host/HostList.js, line 34
- See:
Properties:
Name | Type | Description |
---|---|---|
hosts |
Array | Array of hosts. |
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:
- Host/HostList.js, line 53
- See:
-
loadPreset()
-
Overrides Resource's loadPreset method.
- Source:
- Host/HostList.js, line 47
- 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:
- Host/HostList.js, line 63
- See: