Try this:
class ROCK {
var $src = \"testing\";
var $later = \"rocket\";
var $header = \"appliance\";
var $footer = \"\";
function Add_Footer($footer) {
$this->footer = $this->header . $footer;
}
}
Then once you instantiate your class, use the Add_Footer class to add in your footer:
$rock = new ROCK();
// do something...
$rock->Add_Footer(\"_footer\");
or of course instead of the function, you can define $footer to be a constant.
-sridhar