开发者

Zend framework helper intellisense

开发者 https://www.devze.com 2022-12-23 08:55 出处:网络
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.

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开发者_JAVA百科 build in and custom helpers.

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号