Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zend framework helper intellisense

Not so much a programming problem, but more a productivity problem. We've got quite a few custom view and action helpers in our project. Working with around 7 programmers.

Now when someone, creates a helper or if one would want to use a helper, it all goes through the brokers. This means we do not get intellisense for those helpers, which can be real time consuming, having to go look in the docs or the code files. This is ofcourse true for both build in and custom helpers.

Does any1 share this pain? Does any1 have a solution for this?

like image 371
NDM Avatar asked Mar 22 '26 16:03

NDM


1 Answers

Don't know about Eclipse with PDT but with Zend Studio you can do the following in a controller:

$this->_helper->Crtl+Space

and a box will appear with the default helpers. Same works for ViewHelpers when using it inside a View Script. The funny thing about this is, this will not work in the ZF perspective, but only from the PHP Perspective, which I think is using a customized PDT. So, yeah it's a bit odd.

like image 127
Gordon Avatar answered Mar 24 '26 20:03

Gordon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!