Hi all, I would like a class to test a configuration var and act according to the vars value a bit like this:
<?php
$myconfig=TRUE;
class myclass {
if($myconfig) {
var $something=1;
}
}
I know that that is not the way it should be done though. What is the
best way to do this?
Many thanks....
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

