nl_tokens: @private @deprecated as of v2 . 0 . 0 on an association . Instead use the store configuration .
pl_tokens: function ( storeConfig ) { var me = this , associatedModel = me . getAssociatedModel ( ) , storeName = me . getStoreName ( ) , foreignKey = me . getForeignKey ( ) , primaryKey = me . getPrimaryKey ( ) , filterProperty = me . getFilterProperty ( ) , autoLoad = me . getAutoLoad ( ) , autoSync = me . getAutoSync ( ) ; return function ( ) { var record = this , config , filter , store , modelDefaults = { } , listeners = { addrecords : me . onAddRecords , removerecords : me . onRemoveRecords , scope : me } ; if ( record [ storeName ] === undefined ) { if ( filterProperty ) { filter = { property : filterProperty , value : record . get ( filterProperty ) , exactMatch : true } ; } else { filter = { property : foreignKey , value : record . get ( primaryKey ) , exactMatch : true } ; } modelDefaults [ foreignKey ] = record . get ( primaryKey ) ; config = Ext . apply ( { } , storeConfig , { model : associatedModel , filters : [ filter ] , remoteFilter : true , autoSync : autoSync , modelDefaults : modelDefaults } ) ; <mask> = record [ storeName ] = Ext . create ( 'Ext.data.Store' , config ) ; store . boundTo = record ; store . onAfter ( listeners ) ; if ( autoLoad ) { record [ storeName ] . load ( ) ; } } return record [ storeName ] ; } ; }