API17:JMenu::getDefault
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JMenu::getDefault ($language='*') |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 30: | ||
object The item object | object The item object | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/application/menu.php | + | libraries/joomla/application/menu.php (line 156) |
| + | * see source code in [[jplatform:application/menu.php#cl-156|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:57, 23 April 2011
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.
JMenu::getDefault
Description
Get menu item by id.
Description:JMenu::getDefault [Edit Descripton]
Since
Synopsis
public JMenu::getDefault ($language='*')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $language | string | '*' | The language code. |
Returns
object The item object
Defined in
libraries/joomla/application/menu.php (line 156)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
