Welcome Guest, Not a member yet? Register   Sign In
Where to put custom classes?
#6

[eluser]Jondolar[/eluser]
What do you do with the registration number? Does it become part of another object such as a User object? If so, then you can create a function within your User model to generate the registration number. If that function can be used in other places (i.e. generic), you can create it as a library or helper function instead.


Messages In This Thread
Where to put custom classes? - by El Forum - 09-07-2010, 04:20 AM
Where to put custom classes? - by El Forum - 09-07-2010, 06:42 AM
Where to put custom classes? - by El Forum - 09-07-2010, 07:07 AM
Where to put custom classes? - by El Forum - 09-07-2010, 07:53 AM
Where to put custom classes? - by El Forum - 09-07-2010, 08:58 AM
Where to put custom classes? - by El Forum - 09-07-2010, 10:09 AM
Where to put custom classes? - by El Forum - 09-07-2010, 10:29 AM
Where to put custom classes? - by El Forum - 09-14-2010, 04:07 AM
Where to put custom classes? - by El Forum - 09-14-2010, 05:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB