Hey all,

I'm encountering some problems extending DbFinder...  I have two  
databases, propel and an older database that I have generated a schema  
for.
In the 'propel' database I want to create some custom finder:

so I have lib/model/propel/EntryFinder.php:

<?php

class EntryFinder extends DbFinder
{
   protected $class = 'Entry';
}

?>

However when calling:

$results = DbFinder::from('Entry', $conn)->find();

I get an exception "Undefined method *s::sfModelFinder()" - this  
should probably read "Undefined method  
sfModelFinder::getsetConnection()" when the *s is replaced by %s but  
anyway I don't quite get what I am doing wrong...

Any hints?

Cheers,


Alexander

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

Reply via email to