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!

--~--~---------~--~----~------------~-------~--~----~
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