Class: Host

Host

new Host()

Create a new instance of Host
Properties:
Name Type Description
author User Contains the author's information.
title String the title of the Host
published Date the published date
updated Date the updated date
project Object the host's project
modes Array an array of host modes
transport String the host's transport
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:

generateUrl()

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

loadPreset()

Overrides Resource's loadPreset method.
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:

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: