/* @var $controller Zend_Controller_Front */
But with Eclipse PDT templates you can simplify this and add an autocomplete for variable name and class name:

To add this template open Window menu, select Preferences and then navigate to PHP/Templates section in the tree. Then click "New..." button and fill the fields correspondingly:

After that, in the code view type "var" and press Ctrl+Space. Select "var - Variable type hint" in the list and continue by selecting or typing variable name and class name as shown on the video below:
摘自:http://www.alexatnet.com/node/179
沒有留言:
張貼留言