Table of Contents

getDocument

API Package Subpackage Last reviewed Doc status
API Home Package Joomla.Framework Subpackage JFactory::getDocument Never Work in Progress

Get a document object<p>Returns a reference to the global <a href=”../Joomla-Framework/Document/JDocument.html”>JDocument</a> object, only creating it if it doesn’t already exist.</p>

Syntax

<a href=”../Joomla-Framework/I18N/JLanguage.html”>object JLanguage</a> &getDocument ()

Examples

Example