[eluser]Carl_A[/eluser]
Thanks for both your replies
[quote author="wiredesignz" date="1215268348"]If you need objects then create objects!
Code:
Class Member_model extends Model
{
//some properties
$objUser = new User_model();
$objAttributes[] = new Attributes_model();
//some more functions that may also call functions from those objects
}
[/quote]
Yes, but now im wondering, do those work as true objects or just allows me static calls?
forexample, objattributes[0], and objattributes[1] would be different objects right?
EDIT:
i meant
objattributes[0]->name = "name1";
objattributes[1]->name = "name2";
something like that.. not just function calls.