new AccessLog()
Create a new instance of AccessLog
- Source:
- Usage/AccessLog.js, line 36
- See:
-
- ProjectApp
- Resource
Properties:
Name | Type | Description |
---|---|---|
access |
Object | the objects access |
links |
Array | Contains the array of links |
Example
Load AccessLog
var a = new AccessLog();
u.load({
onSuccess:function(){
alert(JSON.stringify(a.access));
}
});
Methods
-
generateUrl()
-
Overrides Resource's generateUrl method to return the request url
- Source:
- Usage/AccessLog.js, line 56
- See:
-
load(options)
-
Override Resource load method.
Parameters:
Name Type Description options
object options to be used during the call
Properties
Name Type Argument Description period
string the period to load onSuccess
Resource~onSuccess a callback function called in case of a success onFailure
Resource~onFailure <optional>
a callback function called in case of a failure baseUrl
String <optional>
base URL. If not set the current base URL will be used - Source:
- Usage/AccessLog.js, line 71
- See:
-
loadPreset()
-
Overrides Resource's loadPreset method.
- Source:
- Usage/AccessLog.js, line 50
- See: