Class: Project

Project()

A Project model represents a single instance of a project. This can be used for a projects list view populating EML projects. It also supports loading projects from a third-party API in case projects information is located outside of metacat.

Constructor

new Project()

Since:
  • 2.22.0
Source:

Extends

  • Backbone.Model

Methods

initialize()

Initializing the Model objects project variables. The projects are retrieved from the model url service
Source:

parse()

Override backbone's parse to set the data after the request returns from the server
Source:

sync()

Override backbone's sync to set the auth token
Source:

urlRoot()

Builds from the urlBase
Source: