You could define them in your constructor...
class foo{
function foo() {
// define you constants
if(!defined("FOO"))
define("FOO", "bar");
}
}
Or you could define them before you class definition
if(!defined("FOO"))
define("FOO", "bar");
class foo {
// internal class stuff
}
I always define my constants inside my constructor, but that is just my preference.
Aaron