XF 2.1 PHP callback method for widget

rhodes

Active member
Licensed customer
I use widgets in my sidebar, some of them with PHP callbacks. I've installed XF1.5 on my production environment, XF2.1 on dev.

My php callbacks (myaddon_test::mymethod() . ) are only a few lines of code retrieving some HTML strings. However, with XF2.1 I am not sure which class to extend.

class myClass extends ???

any ideas?
 
Back
Top Bottom