Suppose there is a component:
Ext.define('Person', { initComponent : function(){ }, getPerson : function(){ console.log('get Person'); } }); And its extension:
Ext.define('Student', { extend : 'Person', initComponent : function(){ //call parent class constructor this.callParent(arguments); }, getStudent: function(){ console.log('get Student') } }); I need to do so that after the getPerson method is getPerson , the getPerson method is always executed.