Possible Duplicate:
PHP method chaining?
So I can remember seeing in some code examples somewhere calling of a method on a method like:
$classname->method1()->method2();
Can you please explain to me what we call this, and give an example scenario of its usage? Also if you have a link to a tutorial or article on this would be helpful.
I'm new to Object Oriented PHP. And before you kill me for what might be a dumb question, understand that i don't know what to search for on Google, please help...