JMenu::setDefault
Set the default item by id and language code.
Signature
public function setDefault(integer
$id,
[string
$language = ''] )
Parameters
-
$id
- The menu item id.
-
$language
- The language cod (since 1.6).
Returns
- boolean
- True, if successful