Zend Studio 8.0
Documentation Survey | Submit Documentation Feedback | View Latest Version and Get PDF Online
This procedure describes how to create a new Zend View Helper File. Zend View Helpers, when attached to a view object, can call the helper as if it were a method of the view object itself. The View object retains helper instances, which means that they retain states between calls.
See http://framework.zend.com/manual/en/zend.view.helpers.html for more on Zend View Helpers.
|
|
|
To create a new Zend View Helper file:
|
A new Zend View Helper file will be created with the relevant template. This includes phpDoc block comments which help Zend Studio to recognize that the element is a Zend View Helper. Note: Zend View Helper phpDoc block comments must be in the format: /** * <Helper's_Name> helper * * @uses viewHelper <Helper's_Prefix> */ All Zend View Helpers in your project which are correctly commented will be available in the Content Assist list in a Zend View file. This includes the default Zend View Helpers included in Zend Framework's libraries.
Zend View Helper Code Assist In addition, pressing Ctrl and clicking on a Zend View Helper defined in a View file will take you to the Zend View Helper's declaration.
Zend View Helper Go To Source |
|
|
|
|
Related Links: Creating a Zend View File
Integrating with Zend Framework Creating Zend Framework Elements |
|
|