API17

Difference between revisions of "JMenu::setActive"

From Joomla! Documentation

m (JoomlaWikiBot moved page JMenu::setActive/11.1 to API17:JMenu::setActive without leaving a redirect: Robot: Moved page)
m (→‎See also: moving preparation)
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JMenu::setActive source code''' on [[jplatform:application/menu.php#cl-168|BitBucket]]
 
* {{JVer|11.1}} '''JMenu::setActive source code''' on [[jplatform:application/menu.php#cl-168|BitBucket]]
* {{JVer|11.1}} Class [[JMenu/11.1|JMenu]]
+
* {{JVer|11.1}} Class [[API17:JMenu|JMenu]]
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JMenu::setActive|Other versions of JMenu::setActive]]
+
* [[API17:JMenu::setActive|Other versions of JMenu::setActive]]
 
{{SeeAlso:JMenu::setActive}}
 
{{SeeAlso:JMenu::setActive}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 46: Line 46:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JMenu]][[Category:JMenu::setActive]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:12, 11 May 2013

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 />