Hi,

im trying to integrate sfShoppingCart with doctrine. Its all going
well except for the view

 <?php foreach ($items as $item): ?>

        <?php $object = call_user_func(array($item->getClass() .
'Table', 'retrieveProductName'), $item->getId()) ?>

        <?php echo $object->getLabel() ?><br />
        <?php echo $item->getQuantity() ?><br />
        <?php echo $item->getPrice() ?>
        <?php if ($item->getDiscount()): ?>

         <?php echo $item->getDiscount() ?>

        <?php endif; ?><br />

    <?php endforeach; ?>



I believe the $oject->getLabel() is probably propel based. Anyone know
how to implement a doctrine version?

Thanks

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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