nl_tokens: Inserts an item at the specified index in the collection . Fires the {
pl_tokens: function ( index , key , obj ) { var me = this , myKey = key , myObj = obj ; if ( arguments . length == 2 ) { myObj = myKey ; myKey = me . getKey ( myObj ) ; } if ( me . containsKey ( myKey ) ) { me . suspendEvents ( ) ; me . removeAtKey ( myKey ) ; me . resumeEvents ( ) ; } if ( index >= me . length ) { return <mask> . add ( myKey , myObj ) ; } me . length ++ ; Ext . Array . splice ( me . items , index , 0 , myObj ) ; if ( typeof myKey != 'undefined' && myKey !== null ) { me . map [ myKey ] = myObj ; } Ext . Array . splice ( me . keys , index , 0 , myKey ) ; me . fireEvent ( 'add' , index , myObj , myKey ) ; return myObj ; }