Skip to content

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: Host/Host.js, line 42

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: Host/Host.js, line 67

See:


generateUrl()

Overrides Resource's generateUrl method to return the request url

Source: Host/HostMode.js, line 56

See:


loadPreset()

Overrides Resource's loadPreset method.

Source: Host/HostMode.js, line 50

See:


loadPreset()

Overrides Resource's loadPreset method.

Source: Host/Host.js, line 61

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/Host.js, line 77

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/HostMode.js, line 66

See: