Zend Action Helpers provide an easy way of extending the capabilities of Action Controllers, allowing you to extend Action Controller functionality only when it is needed. Zend Studio allows you to easily create and use Action Helpers within your Zend Framework projects.
For more information on Action Helpers, see http://devzone.zend.com/article/3350-Action-Helpers-in-Zend-Framework.
|
|
|
To create a new Zend Action Helper file:
|
|
|
Note:
Zend Action Helper phpDoc block comments must be in the format:
/**
* <Helper's_Name> Action Helper
*
* @uses actionHelper <Helper's_Prefix>
*/
All Zend Action Helpers in your project which are correctly commented will be available in the Code Assist list in Zend Controller files. This includes both the default Zend Action Helpers included in Zend Framework's libraries and the Actions Helpers you created.
The Helper broker for the Helper's members and methods are also available for Content Assist:
In addition, pressing Ctrl and clicking on a Zend Action Helper in a Controller file will take you to the Zend Controller Action Helper's declaration.
|
|
|
Related Links: Integrating with Zend Framework Creating Zend Framework Elements Creating Zend Framework Projects Creating a Zend Controller File Creating a Zend Controller Test Case |
©1999-2013 Zend Technologies LTD. All rights reserved.