RE: [PHP] Info into Class

2002-09-03 Thread Greg Martin
then that process only has to happen in one place, keeping your code nice and clean. greg -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 6:45 AM To: php-gen Subject: [PHP] Info into Class Are there any rules as to how information from ou

[PHP] Info into Class

2002-09-03 Thread Gerard Samuel
Are there any rules as to how information from outside a class can be moved into it. What Ive been doing so far is 1. Through the constructor 2. defining a constant 3. Create a method whose sole purpose is to move data from the outside into the class. i.e. bar = $bar; } .. } //