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.. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.