I have two controllers which have some actions that are really the same. How do I refer to the identical action in another controller?
class UserController extends Zend_Controller_Action {
public function listAction() {
//do something here
}
}
class AdminController extends Zend_Controller_Action {
public function listAction() {
//how to call UserController::listAction here?
}
}
Ben AdminController ne koyarım :: listAction yukarıda sadece UserController içinde kod yazmak zorunda böylece :: listAction?
teşekkürler