Re: [PHP] Best way to approach object construction errors?

2003-09-20 Thread Marco Schuler
Am Don, 2003-09-18 um 20.36 schrieb Mike Zornek: > I've created a class called university, it has a constructor which can > accept an id. If the id is sent during construction the constructor will > connect to a MySQL db to set all of the objects member variables to the > MySQl counterparts. > > I

Re: [PHP] Best way to approach object construction errors?

2003-09-18 Thread Mike Migurski
>I've created a class called university, it has a constructor which can >accept an id. If the id is sent during construction the constructor will >connect to a MySQL db to set all of the objects member variables to the >MySQl counterparts. > >I'd like to include some error notification so if I send

[PHP] Best way to approach object construction errors?

2003-09-18 Thread Mike Zornek
I've created a class called university, it has a constructor which can accept an id. If the id is sent during construction the constructor will connect to a MySQL db to set all of the objects member variables to the MySQl counterparts. I'd like to include some error notification so if I send it an