04-26-2012, 04:46 AM
|
#3 (permalink)
|
|
The Addict
Join Date: Aug 2008
Posts: 336
Thanks: 8
|
I've never seen that error before. But it seems that your left side of the assignment is evaluating $property_obj to a string because you have the dollar sign after the -> . So change
php Code:
$this->$property_obj = $property_obj;
to this
php Code:
$this->property_obj = $property_obj;
|
|
|
|