<?php
class IndexController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
// action body
}
}
Listing 1.1. Domyślna zawartość pliku IndexController.php
Rozdział 1. Pierwszy projekt w Zend Framework