MVC 代码书写:控制器代码书写:
<?phpclass IndexController extends Zend_Controller_Action{function init(){$this->registry = Zend_Registry::getInstance();