Let's say I have a user class in my application. In the back end of the site in the administration section the admins are able to see a list of all registered users and edit their information.
How should I load all the user objects? Right now I have a static function in the user class that returns an array populated by user objects.
That probably isn't the correct way to do it? What is the correct way to load a bunch of objects? What terms or patterns should I Google for more information? Should I have a LoadUsers class? If so, wouldn't it just have a single method? Would that be overkill?