CrazeD Posted April 4, 2007 Share Posted April 4, 2007 What is this called? $var->ACTION(); I see this a lot, and I'm not sure what it means or if there is a name for what it's doing. I'd like to learn about this. Thanks. Link to comment https://forums.phpfreaks.com/topic/45595-what-is-this-called/ Share on other sites More sharing options...
pocobueno1388 Posted April 4, 2007 Share Posted April 4, 2007 Look into OOP [object oriented programming]. This is the method used to retrieve information from a class. Link to comment https://forums.phpfreaks.com/topic/45595-what-is-this-called/#findComment-221386 Share on other sites More sharing options...
Caesar Posted April 4, 2007 Share Posted April 4, 2007 Such methods of calling functions are used when coding OOP (Object Oriented Programming) For example: <?php $variable = new classname; $variable->function(); $variable->function2($valuepassed); ?> ...etc. Link to comment https://forums.phpfreaks.com/topic/45595-what-is-this-called/#findComment-221391 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.