25-09-2012, 17:43
czyli:
public $atrybut;
function __get()
{
return $this->$atrybut;
}
a jak set to:
$this->$atrybut = $zmienna;
public $atrybut;
function __get()
{
return $this->$atrybut;
}
a jak set to:
$this->$atrybut = $zmienna;