Add <?php /* @var $job JobeetJob */ ?> somewhere in that template.

Make sure you refresh your elicpse project (right click project,
select 'refresh') everytime after you execute symfony command (e.g.:
symfony cc, symfony propel-build-mode) etc.

Sometime it still doesn't work and you have to select the project,
then go "Project" -> "Clean" in eclipse (this is for rebuilding the
workspace).

On Thu, Feb 5, 2009 at 10:34 AM, roberto german puentes diaz
<[email protected]> wrote:
> I cann't do it. If i have the follow code:
>     <?php foreach ($jobeet_job_list as $i => $job): ?>
>       <tr class="<?php echo fmod($i, 2) ? 'even' : 'odd' ?>">
>         <td><?php echo $job->getLocation() ?></td>
>         <td>
>           <a href="<?php echo
> url_for('job/show?id='.$job->getId().'&company='.$job->getCompany().'&location='.$job->getLocation().'&position='.$job->getPosition())
> ?>">
>             <?php echo $job->getPosition() ?>
>           </a>
>         </td>
>         <td><?php echo $job->getCompany() ?></td>
>       </tr>
>     <?php endforeach; ?>
>
> Inside of foreach, i have a object $job ( type JobeetJob). I use Eclipse.
> How can i do, for inside of foreach eclipse can reconoze that $job is a
> instace of JobeetJob class.???
> Can i do casting?
> I want to can, write $job-> ... and eclipse offer me all method of this
> class
>
>
> Cheers
> Rob
>
> --
> Cr. Puentes Diaz
> MP 10.12726.9
> Córdoba - Argentina
>
> www.puentesdiaz.com.ar/blog/
> www.puentesdiaz.com.ar/blog/novedades
> www.puentesdiaz.com.ar/blog/curriculum-vitae
> Linux User n° 441474
> Ubuntu/Symfony/Eclipse Rocks!
>
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to