Re: Re: [PHP] PHP5 object construct

From: Date: Sat, 23 Sep 2006 00:32:47 +0000
Subject: Re: Re: [PHP] PHP5 object construct
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-242121@lists.php.net to get a copy of this message
well, perhaps I'm not seeing what it is that you're looking for.
No, I'm not sure you are. Take a look at my sample code again. Pay particular attention to how both $bob and $Bob are defined. class MyClass { private $bob; public $Bob { set( $var ) {
     $this->bob = $var;
} get() {
     return $this->bob;
} } } thnx, Chris

« previous php.general (#242121) next »