Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_return the fields
Registers an event listener for a specific event name.
The name of the event to listen for (must be a key in E).
The function to be called when the event is fired.
If true, the listener will be added to the beginning of the listener list (capturing phase).
Dispatches an event with a given name and payload to all registered listeners.
The name of the event to fire (must be a key in E).
The event payload (event object) to pass to the listeners.
find the index of the element with the given id
Optionalurl: stringRemoves a previously registered event listener.
The name of the event from which to remove the listener.
The specific callback function to remove. It must be the same function instance that was originally registered.
convert raw objects to real records from model
just set the records
must be of the same type as model
return the number of records