Class: AccessLog
AccessLog
new AccessLog()
Create a new instance of AccessLog
Properties:
| Name | Type | Description |
|---|---|---|
access |
Object | the objects access |
links |
Array | Contains the array of links |
Source: Usage/AccessLog.js, line 36
See:
- ProjectApp
- Resource
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 |
options 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 | \ |
a callback function called in case of a failure |
baseUrl |
String | \ |
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: