new ProjectProcess()
Create a new instance of an project's application
- Source:
- Project/ProjectProcess.js, line 43
- See:
Properties:
Name | Type | Description |
---|---|---|
i18n |
I18n | Contains the dictionaries of the application |
title |
String | Array of projects |
Example
Load project
function loadProcess(p_version){//version Object
p_version.loadProcesses({
onSuccess:function(){
var p = p_version.processes[0];
p.load({
onSuccess : function(){
alert("process loaded");
}
});
}
});
};
Methods
-
generateUrl()
-
Overrides Resource's generateUrl method to return the request url
- Source:
- Project/ProjectProcess.js, line 63
- See:
-
loadPreset()
-
Overrides Resource's loadPreset method.
- Source:
- Project/ProjectProcess.js, line 57
- 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:
- Project/ProjectProcess.js, line 73
- See: