4 |
## $Id$ |
## $Id$ |
5 |
## ----------------------------------------------------------------------------- |
## ----------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.5 2003/04/06 04:26:43 joko |
8 |
|
## shortcut for LinkBuilder |
9 |
|
## |
10 |
## Revision 1.4 2003/04/06 01:44:52 jonen |
## Revision 1.4 2003/04/06 01:44:52 jonen |
11 |
## + build links now with help of LinkBuilder class |
## + build links now with help of LinkBuilder class |
12 |
## (one id instead of a bunch of variables... ;) |
## (one id instead of a bunch of variables... ;) |
23 |
class WebExplorer_Module_NavigationList extends WebExplorer_Module_AbstractNavigationList { |
class WebExplorer_Module_NavigationList extends WebExplorer_Module_AbstractNavigationList { |
24 |
|
|
25 |
function propagate() { |
function propagate() { |
|
$linkbuilder = new LinkBuilder(); |
|
26 |
|
|
27 |
$link_vars = array( |
$link_vars = array( |
28 |
'ap' => "explorer", |
'ap' => "explorer", |
43 |
|
|
44 |
// V3: use LinkBuilder to save vars at session and get unique id instead |
// V3: use LinkBuilder to save vars at session and get unique id instead |
45 |
$link_vars['ecdid'] = $value; |
$link_vars['ecdid'] = $value; |
46 |
$link_guid = $linkbuilder->save($link_vars); |
$link_guid = link::store($link_vars); |
47 |
$url = $_SERVER['PHP_SELF'] . "?lbid=" . $link_guid; |
$url = $_SERVER['PHP_SELF'] . "?lbid=" . $link_guid; |
48 |
|
|
49 |
$this->nav->add($url, $value, $alt_caption); |
$this->nav->add($url, $value, $alt_caption); |