NYCPHP Meetup

[nycphp-talk] Constructors and

Randal Rust randalrust at gmail.com
Thu Oct 19 08:56:12 EDT 2006


On 10/18/06, Matthew Terenzio <matt at jobsforge.com> wrote:

> Just want to bounce this off the OO gurus:

By no means am I one of those, but here is how I do it:

$user =& new User;

$user->viewUser($rec);//gets the data for the user I want

$user->addUser();//adds new user based on the data collected from the form

$user->updateUser($rec);//updates


-- 
Randal Rust
R.Squared Communications
www.r2communications.com



More information about the talk mailing list