http://www.zend.com/en/community/local-php-groups
Local PHP Groups
We're building a PHP User Group directory on zend.com - get your User
Group listed!
You asked, we listened. Following requests from many PHPers, we will
be dedicating an area on our website to PHP User Groups. As a first
step, we a
On Tue, Jan 12, 2010 at 12:12 PM, Rob Marscher
wrote:
> On Jan 12, 2010, at 11:58 AM, Yitzchak Schaffer wrote:
>> What's BP for changing the values of protected properties within a class
>> that also has public getter/setters? e.g. in Foo::doSomething() below:
> ...
>> protected function doSome
Yitzchak Schaffer wrote:
Hello all,
What's BP for changing the values of protected properties within a
class that also has public getter/setters? e.g. in Foo::doSomething()
below:
I think you're better off making the "underlying" variable private,
and then always access it through the
On Jan 12, 2010, at 11:58 AM, Yitzchak Schaffer wrote:
> What's BP for changing the values of protected properties within a class that
> also has public getter/setters? e.g. in Foo::doSomething() below:
...
> protected function doSomething()
> {
>$new_value = $this->getNewValue();
>
>$
Hello all,
What's BP for changing the values of protected properties within a class
that also has public getter/setters? e.g. in Foo::doSomething() below:
class Foo
{
protected $bar;
public function getBar()
{
return $this->bar;
}
public function setBar( $baz )
{
$this->