Joomla 2.5 Templates – JFactory::getDocument()

In our continued effort to review the PHP code in the Joomla 2.5 Beez2 template, we come across the following code: // get params $color = $this->params->get(‘templatecolor’); $logo = $this->params->get(‘logo’); $navposition = $this->params->get(‘navposition’); $app = JFactory::getApplication(); $doc = JFactory::getDocument(); Our specific focus in this article will be $doc = JFactory::getDocument().   What is getDocument? According Read More >