Streams.Rule Class
Class representing 'Rule' rows in the 'Streams' database
rules applied on the user's side for notifications coming in
Constructor
Streams.Rule
(
-
fields
Parameters:
-
fieldsObjectThe fields values to initialize table row as an associative array of
{column: value}pairs
Item Index
Methods
Methods
beforeSave
(
-
value -
callback
Calculate ordinal for the rule
Parameters:
-
valueMixed -
callbackFunction
setUp
()
The setUp() method is called the first time an object of this class is constructed.