new ProjectList()
A List of the login user's projects
- Source:
- Project/ProjectList.js, line 37
- See:
Properties:
Name | Type | Description |
---|---|---|
projects |
Array | Array of projects. |
Example
Load projects
var proList = new ProjectList();
proList.load({
onSuccess: function(){
alert('List Loaded '+proList.projects.length+' projects on list');
},
onFailure:function(err){
alert(err.responseText);
}
});
Methods
-
generateUrl()
-
Overrides Resource's generateUrl method to return the request url
- Source:
- Project/ProjectList.js, line 56
- See:
-
loadPreset()
-
Overrides Resource's loadPreset method.
- Source:
- Project/ProjectList.js, line 50
- 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/ProjectList.js, line 66
- See: