API17

JMenu::setActive

From Joomla! Documentation

Revision as of 16:52, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→‎User contributed notes: moving preparation)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JMenu::setActive[edit]

Description[edit]

Set the default item by id.

Template:Description:JMenu::setActive [Edit Descripton]

public function setActive ($id)
Parameter Type Default Description
$id int The item id
  • Returns mixed If successfull the active item, otherwise null
  • Defined on line 176 of libraries/joomla/application/menu.php

See also[edit]

Template:SeeAlso:JMenu::setActive [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />