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
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;
}
..
}
//
2 matches
Mail list logo