0

In the ZEND Reference Guide I saw this:

$select = $db->select()->from('posts')->order('date_created DESC');

Now I'm wondering: what does that second arrow do? What does using more than one arrow when working with an object do? And can I use it all the times? For example

$myclass->function()->anotherfunction()->hello;

?

2
Contributors
2
Replies
5
Views
6 Years
Discussion Span
Last Post by minitauros
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.