nl_tokens: Function : registerCollection Registers a specific <Barefoot . Collection > and the <Barefoot . Model > s which are contained in it with the given identifier . This information is needed when serializing the DataStore for transferring data to the client .
pl_tokens: function registerCollection ( identifier , <mask> , model ) { this . registeredModelsAndCollections [ identifier ] = { collectionClass : collection , modelClass : model } ; }