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:
-
fields
ObjectThe 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:
-
value
Mixed -
callback
Function
setUp
()
The setUp() method is called the first time an object of this class is constructed.