nl_tokens: Destroys this Component . If it is currently added to a Container it will first be removed from that Container . All Ext . Element references are also deleted and the Component is de - registered from Ext . ComponentManager
pl_tokens: function ( ) { this . destroy = Ext . emptyFn ; var parent = this . getParent ( ) , referenceList = this . referenceList , i , ln , reference ; this . isDestroying = true ; Ext . destroy ( this . getTranslatable ( ) , this . getPlugins ( ) ) ; // Remove this component itself from the container if it's currently contained if ( <mask> ) { parent . remove ( this , false ) ; } // Destroy all element references for ( i = 0 , ln = referenceList . length ; i < ln ; i ++ ) { reference = referenceList [ i ] ; this [ reference ] . destroy ( ) ; delete this [ reference ] ; } Ext . destroy ( this . innerHtmlElement ) ; this . setRecord ( null ) ; this . callSuper ( ) ; Ext . ComponentManager . unregister ( this ) ; }