[eluser]thevenin[/eluser]
Hi guys,
I have two controllers: one for admin panel and one for frontend app.
In both places I need a method which will output an array of objects - let's say the method name is "Rankings".
Admin panel controller:
Code:
class Standings extends Controller {
....
function Rankings() {
//some code
}
....
}
I would like to call this method in my front controller Frontpage:
Code:
class Frontpage extends Controller {
//is it possible to call it somehow here?
//or I have to paste the whole method from Standings controller?
}