models.BaseMixin Class
Methods shared between every client and server model
Item Index
Methods
createdAt
()
Date
Returns:
Date:
createdAt
()
Date
Returns:
Date:
createdAt
()
Date
Returns:
Date:
deletedAt
()
Date
Returns:
Date:
deletedAt
()
Date
Returns:
Date:
deletedAt
()
Date
Returns:
Date:
hasVisibility
(
-
visibility -
models
Visibility assertion helper
Parameters:
-
visibilityString -
modelsArrayArray of models.server.Visibility models
Returns:
Boolean
isSame
(
-
other
Return true if the other object is built using the same constructor and they have the same id
Parameters:
-
otherBackbone.Model
Returns:
Boolean
isSame
(
-
other
Return true if the other object is built using the same constructor and they have the same id
Parameters:
-
otherBackbone.Model
Returns:
Boolean
isSame
(
-
other
Return true if the other object is built using the same constructor and they have the same id
Parameters:
-
otherBackbone.Model
Returns:
Boolean
isSoftDeleted
()
Boolean
Returns:
Boolean:
isSoftDeleted
()
Boolean
Returns:
Boolean:
isSoftDeleted
()
Boolean
Returns:
Boolean:
updatedAt
()
Date
Returns:
Date:
updatedAt
()
Date
Returns:
Date:
updatedAt
()
Date
Returns:
Date:
