tanvirtonu Posted August 14, 2011 Share Posted August 14, 2011 I m new to php programming. I want to know what is the meaning of double " -> " in php method calling. Like the one in the following example - $this->load->library('class_name', $config, 'object name') Does it mean that the "load" method has the "library" method in it...I m confused.. Link to comment https://forums.phpfreaks.com/topic/244750-nested-method-calling-in-php/ Share on other sites More sharing options...
trq Posted August 14, 2011 Share Posted August 14, 2011 Methods (like functions) require braces(). What you are looking at is a property called load. This property is set to some other object which in turn has a method called library. Link to comment https://forums.phpfreaks.com/topic/244750-nested-method-calling-in-php/#findComment-1257087 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.