models.client.Base.NotFound Class
Not found error class for 404 api errors
Constructor
models.client.Base.NotFound
(
-
message -
url -
xhr
Parameters:
-
messageString -
urlString -
xhrObjectThe ajax request
Item Index
Methods
- clearTestDatabase static
- deleteAndReset static
- fetch
- isImage
- toURL
Methods
deleteAndReset
(
private
static
-
tables
Delete all rows from given tables in series.
The rows must have an id sequence which will be restarted
Parameters:
-
tablesArrayTables names
fetch
()
Bluebird.Promise
Fetch model state from the server http://backbonejs.org/#Model-fetch
Returns:
isImage
()
Boolean
Return true if the attachment is an image which can be displayed in a
tag
Returns:
Boolean:
toURL
()
String
Return url to this attachment
Returns:
String:
