/[cvs]/nfo/php/libs/org.netfrag.app/WebExplorer/Module/NavigationList.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.app/WebExplorer/Module/NavigationList.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by jonen, Sun Apr 6 01:44:52 2003 UTC revision 1.5 by joko, Sun Apr 6 04:26:43 2003 UTC
# Line 4  Line 4 
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... ;)
# Line 20  loadModule('WebExplorer::Module::Abstrac Line 23  loadModule('WebExplorer::Module::Abstrac
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",
# Line 41  class WebExplorer_Module_NavigationList Line 43  class WebExplorer_Module_NavigationList
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);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed