Chaining is calling one function after another on the same object. Returning the object is a way to accomplish that. It allows you to write.
anObject.method1().method2().method3();
pritaeas
Posting Prodigy
9,549 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,497
Skill Endorsements: 98
Question Answered as of 4 Months Ago by
pritaeas