[EMAIL PROTECTED] írta:
> 
> I need the list of activity types to display in a template of the
> activity module, but not as select options.
> 
> I tried adding to the activity class:
>       public function getActivitytypes($con = null)
>       {
>               // include the related Peer class
>               include_once 'lib/model/om/BaseActivitytypePeer.php';
This is not needed
> 
>                       $this->aActivitytypes = ActivitytypePeer::doSelectRS();
>               return $this->aActivitytypes;
>       }
> 
Try
$this->aActivitytypes = ActivitytypePeer::doSelect(new Criteria())

-- 
Ámon Tamás
http://linkfelho.amon.hu


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