PDA

View Full Version : FeedWindow.superclass.show.apply



kirandasari
6 May 2009, 4:30 AM
please any one explain the purpose of this line.

Condor
6 May 2009, 5:28 AM
FeedWindow.superclass is the class that FeedWindow descends from (=Ext.Window).

FeedWindow.superclass.show.apply(scope, [arguments]) is a way to call the Ext.Window.show() method from a different class (scope = current FeedWindow instance) with an optional arguments array.

kirandasari
6 May 2009, 5:37 AM
Very Thanks:)