Table of Contents

getInstance

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Application Class JRouter Method getInstance Reference getInstance() Never Work in Progress

Returns a reference to the global Router object, only creating it if it doesn’t already exist.<p>This method must be invoked as: <pre> $router = &JRouter::getInstance();</pre></p>

Syntax

<a href=”../../Joomla-Framework/Application/JRouter.html”>JRouter</a> &getInstance ( $options )

$options

Examples

Example