How do I make chained objects in PHP5 classes? Examples:
$myclass->foo->bar->baz();
$this->foo->bar->baz();
Not: $myclass->foo()->bar()->baz();
See also:
http://www.talkphp.com/advanced-php-programming/1163-php5-method-chaining.html
Thanks.
/Kristoffer :-)