I vote for - new method setConnection($con)
as this will be the most backward compatible and also easy to see when somebody is looking for this option. Kupo Matthias Nothhaft wrote: > Matthias Nothhaft wrote: > >> Hi, >> >> how can I use/set another connection for sfPropelPager, e.g. to fetch >> data from a slave instead of a master server? >> >> Seems that it is not supported!? :-( >> > > Ok.. as this is really important for me I would like to add support for > changing the database connection with the sfPager family. > > How do you want it to be implemented? > > - Third (optional) parameter in the constructor: > public function __construct($class, $defaultMaxPerPage = 10, $con = null) > > - new method setConnection($con) > > - new optional parameter with init($con = null) > > > Regards, > Matthias > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---