Marco Schierhorn wrote:
> Hey,  i’ve got a question concerning the Model Classes and the functions
> written by me in the lib/Models directory ( i.e. Members.php and
> MembersPeer.php ), not the ones which are created automatically. (
> lib/model/om ).
>

Anything that acts on an instance of a member should be in members.php.

Forexample, getNextBirthday() should be in members.php

To get a list of users who have a birthday in the next 6 months

$members = MeberPeer::getUsesWithBirthdayWithin('6 months');

or something like that.



-- 

Ian P. Christian ~ pookey.co.uk

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