Creating a Zend View File

This procedure describes how to create a new Zend View file.

A Zend View is a class for working with the "view" portion of the model-view-controller pattern. The Zend View manages the graphic interface aspect of your application.

See http://framework.zend.com/manual/en/zend.view.html for more information on the Zend View.

 

 

Instructions on how to complete a procedure

To create a new Zend View file:

  1. In PHP Explorer view, right-click the views folder in your Zend Framework Project and select New | Zend Framework Item | Zend View.
    The New Zend View Wizard will be displayed.

  1. The default location for the file will be in the application's default 'views' folder.
    Click Browse next to the Source Folder field to change the location.

  2. Edit the File Name if required.

  3. Click Next.
    The Select PHP Templates dialog is displayed.

  1. Select a template, and click Finish.

A new Zend View file will be created with the relevant template.

The new file will be displayed in the MVC Oultine view.