RE: [PHP] Question about OO design
| From: | Chris W. Parker | Date: | Tue, 10 Apr 2007 17:35:15 +0000 |
| Subject: | RE: [PHP] Question about OO design | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252443@lists.php.net to get a copy of this message | ||
On Monday, April 09, 2007 4:24 PM Jochem Maas
<mailto:jochem@iamjochem.com> said:
>> Ok. I see what you're saying. If I populate all that data during the
>> constructor why would I ever call the function again right?
>
> you could refresh the data if needed - but basically the idea is
> to cut down the user data grab into a single sql call.
[snip useful bits]
Thanks for the help Jochem! I appreciated it.
Chris.