Skip to content

Opening book details…

Can I read Setting Up Controllers in Zend Framework 2 on EtoBox?

Setting Up Controllers in Zend Framework 2 by Holly Anderson is a document available to read on EtoBox.

What is Setting Up Controllers in Zend Framework 2 about?

The document discusses setting up a controller in Zend Framework 2. It explains that a controller class must implement the Zend\Stdlib\Dispatchable interface and can extend the AbstractActionController abstract class. The controller class is named {ControllerName}Controller and stored in {ControllerName}Controller.php. Each action method starts with a lowercase name followed by Action, like indexAction(). Four actions - index, add, edit, and delete - are defined for an AlbumController class.

Author
Holly Anderson
Language
EN

More by Holly Anderson

Browse all works by Holly Anderson