user3666756
user3666756

Reputation: 53

Zend framework 2 call action from other action of the same controller

Is it possible in ZF2 to call an action from another action of the same controller? If yes, how can this be done?

Upvotes: 0

Views: 1390

Answers (1)

Thomas Dutrion
Thomas Dutrion

Reputation: 1893

Depending on what exactly you want to achieve, you can use the forward controller plugin.

http://framework.zend.com/manual/2.2/en/modules/zend.mvc.plugins.html

Upvotes: 3

Related Questions