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

What is the best way to use those in my actions? 
Should I put my own functions ( i.e. a function which gets the next
birthdays ) in the Members.php and get the results in my action class via :

$members = new Members();
$this->nextBirthdays = $members->getNextBirthdays();

Or should I put my “custom” functions to get results in the MembersPeer.php
and call them in my action class like this : 

$this->nextBirthdays = $MembersPeer:: getNextBirthdays();

 

Any help and suggestions would be really appreciated.

 

Thanks,

Marco

 

-- 
Marco Schierhorn 
Technical Director 

-------------------------------------------------------------------

ESV Media GmbH
Meerbuscher Str. 64-78 | 40670 Meerbusch
Tel. +49 (0)2159 / 9297-930 | Fax. +49 (0)2159 / 9297-931
Mobil +49 (0)173 / 99 37 000
www.esv-group.de | [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 

Geschäftsführer: Heinz Eissing
Amtsgericht | Neuss HRB 12902 

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

 


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