Members
-
module:Core/Acl
-
-
module:Core/Controller
-
-
<constant> module:Core/Error
-
-
<constant> module:Core/Events
-
-
module:Core/Language
-
-
<constant> module:Core/Logger
-
-
<constant> module:Core/PluginManager
-
-
<constant> module:Core/Routing
-
-
<constant> module:Data/DataManager
-
-
<constant> module:Data/Validation
-
-
<constant> module:Utils/Cookie
-
-
<constant> module:Utils/Utils
-
-
<constant> module:View/Alert
-
-
<constant> module:View/HbsHelpers
-
-
<constant> module:View/Template
-
-
<constant> module:View/ViewManager
-
Methods
-
hasDelta()
-
Checks if there is anything in the deltas.
Returns:
trueif some records are to be created, linked or unlinked to the bean.- Type
- boolean
-
hasDelta()
-
Checks if at least one of the linked collections has a delta.
Returns:
trueif at least 1 linked collection has a delta.- Type
- boolean
-
paginate( [options])
-
Paginates the collection. In the use case of a collection field, we pass
collectionFieldoption in order to hit the collection API.Parameters:
Name Type Argument Description optionsObject <optional>
A hash of options.
Properties
Name Type Argument Description storedFilterArray.<string> <optional>
An array of existing filters to be applied.
viewstring <optional>
If you are paginating a collection field, passing the
viewoption will make sure we read the field definition specified in the view defs. It is especially important in order to use the sameorder_byvalue that was used for the first fetch of the collection.Returns:
The created fetch request.
- Type
- SUGAR.HttpRequest
-
resetPagination()
-
In a use case of a collection field, we set the
offsetandnext_offsetto an empty object. In other use cases, we call the parent.