Mainly when you are working in ZF views, you don’t have autocomplete for your variables. This can be fixed by comment type hinting, which is a feature of Aptana/Eclipse.
Example of type hinting:
<?php
foreach($this->jobs as $job)
{
/* @var $job Default_Model_Job */
echo $job->getID(); //Methods can now be autocompleted
}
Source and more examples (Stack Overflow)