There is a little trick that Peter told me yesterday to get a better support for the code hinting/tooltips and code completion in Zend Studio when using Symfony with Propel:

In config/propel.ini, near the bottom of the file, you will find the setting:

propel.builder.addComments

This is set to false by default. What this basically means is that no phpDoc comments are added to your Base models. If you change this setting to true, and re-build your model, all of a sudden, when using for instance the retrieveByPK() method, the returned value all of a sudden also has all the code hinting/tooltips and code completion that is so great about Zend Studio.


Leave a Reply

Your email address will not be published. Required fields are marked *