aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/navigation/default.php
blob: fd67b8094da258d7d7ad4ab1b40ffff9257a364a (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php 

$params = array();
$params['menu'] = array();
$params['menu']['default'] = array();
for ($i=1; $i<=5; $i++) {
	$params['menu']['default'][] = new ElggMenuItem($i, "Page $i", "$url#");
}
$params['menu']['default'][2]->setSelected(true);

echo elgg_view('navigation/menu/default', $params);