From Joomla! Documentation

Revision as of 20:27, 11 May 2013 by JoomlaWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDocument::getInstance


Returns the global object, only creating it if it doesn't already exist.

Description:JDocument::getInstance [Edit Descripton]

public static function getInstance (
        $type= 'html'
Parameter Type Default Description
$type type 'html' The document type to instantiate
$attributes array()
  • Returns object The document object.
  • Defined on line 228 of libraries/joomla/document/document.php
  • Referenced by

See also

SeeAlso:JDocument::getInstance [Edit See Also]

User contributed notes

<CodeExamplesForm />