Class: DashboardModel

MusicXMLAnalyzer. DashboardModel

new DashboardModel()

Source:

Methods

<inner> _mergeResults(the)

Method merges all retrieved results for overall statistics
Parameters:
Name Type Description
the array array containing the results for every single upload
Source:

<inner> _onLoadResultById(id, the, status, the)

Ajax callback for loadResultById
Parameters:
Name Type Description
id int of result
the json returned json data from ajax call
status string message
the jqXHR jqXHR object
Source:

<inner> _onLoadResultIds(the, status, the)

Ajax callback for loadResultIds
Parameters:
Name Type Description
the json returned data from ajax call
status string message
the jqXHR jqXHR object
Source:

<inner> _onLoadResults(the, status, the)

Ajax callback for loadUploadIds
Parameters:
Name Type Description
the json returned data from ajax call
status string message
the jqXHR jqXHR object
Source:

<inner> addLogMessage(log)

Adds log message
Parameters:
Name Type Description
log string message
Source:

<inner> getResults(result) → {array}

Returns results
Parameters:
Name Type Description
result int id
Source:
Returns:
the search results
Type
array

<inner> init()

Init function
Source:

<inner> loadResultById(the)

Method laads results by given id
Parameters:
Name Type Description
the int result id
Source:

<inner> loadResultIds(the)

Method loads ids of all results
Parameters:
Name Type Description
the json json data from ajax call
Source:

<inner> loadUploadIds()

Method loads ids of all uploads
Source: