new Context()
Constructor containing all the login user information.
- Source:
- Resources/Context.js, line 30
Properties:
Name | Type | Description |
---|---|---|
link |
Array | Array of links. |
Methods
-
generateFilters(fArray)
-
Generates the filter string to be posted to the server
Parameters:
Name Type Argument Description fArray
Array List of filters to me generated with the following parameters fArray[index].constructor
String <optional>
The constructor for which the filter is required fArray[index].filter
String <optional>
the filter to be used fArray[index].operator
String <optional>
the operator of the filter fArray[index].value
String <optional>
the value of the filter - Source:
- Resources/Context.js, line 166
-
init(options)
-
Initializes the context variable with the data from the login user
Parameters:
Name Type Description options
object options to be used during the call
Properties
Name Type Argument Description 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:
- Resources/Context.js, line 43
- See: