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 fArrayArray List of filters to me generated with the following parameters fArray[index].constructorString <optional>
The constructor for which the filter is required fArray[index].filterString <optional>
the filter to be used fArray[index].operatorString <optional>
the operator of the filter fArray[index].valueString <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 optionsobject options to be used during the call
Properties
Name Type Argument Description onSuccessResource~onSuccess a callback function called in case of a success onFailureResource~onFailure <optional>
a callback function called in case of a failure baseUrlString <optional>
base URL. If not set the current base URL will be used - Source:
- Resources/Context.js, line 43
- See: