blob: 92a1bb43ce16d0858c68320d13559e3c4f3edcd1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<?php
$params = array();
$params['menu'] = array();
$params['menu']['default'] = array();
for ($i=1; $i<=5; $i++) {
$params['menu']['default'][] = new ElggMenuItem($i, "Page $i", "#");
}
$params['name'] = 'footer';
echo elgg_view('navigation/menu/default', $params);
|