Oh yeah, and did you try something like :

<?php foreach($test as $value): ?>
 <?php echo $value->getId() ?>
<?php endforeach; ?>

you can also try :
<?php foreach($test as $value): ?>
 <?php print_r($value) ?>
<?php endforeach; ?>

On 28 mai, 15:10, John <[email protected]> wrote:
> Hi,
>
> can you show the "getTotals()" method ?
>
> On 28 mai, 15:07, safa boubekri <[email protected]> wrote:
>
> > hello
>
> > i put in action
>
> > public function executeIndex(sfWebRequest $request)
> >  {
>
> >  $this->test = Doctrine_core::getTable('Cotisation')->getTotals();  }
>
> > in template i  call  value test as:
> > <?php foreach($test as $value): ?>
> >  <?php echo $value ?>
> > <?php endforeach; ?>
>
> > but no result
>
> > thank you

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