newbee needs help with some codes
Posted: Thu Apr 23, 2009 11:54 pm
Hi,
The following snippet is from Joomla:
$mainframe =& JFactory::getApplication('site');
What do =& and :: mean?
I know this is php using OO, but why can't it be used the following way?
$mainframe = JFactory->getApplication('site');
TIA
The following snippet is from Joomla:
$mainframe =& JFactory::getApplication('site');
What do =& and :: mean?
I know this is php using OO, but why can't it be used the following way?
$mainframe = JFactory->getApplication('site');
TIA