RE: [PHP] private $foo

From: Date: Tue, 28 Mar 2006 19:33:07 +0000
Subject: RE: [PHP] private $foo
Groups: php.general 
Request: Send a blank email to php-general+get-232753@lists.php.net to get a copy of this message
[snip] I see this all over the place, but I don't think it stores the variable in = $foo: class Foo { private $foo; public function __setFoo($arg) { $this->foo = $arg; } [/snip] I am always using 'foo' in conversation and finally said it enough that the CEO used it in a meeting the other day. Setter functions are cool.

« previous php.general (#232753) next »