/[cvs]/nfo/php/libs/org.netfrag.glib/Application/Request/Tracker.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/Application/Request/Tracker.php

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

revision 1.4 by joko, Tue Mar 11 01:42:58 2003 UTC revision 1.5 by jonen, Thu Mar 20 07:20:31 2003 UTC
# Line 16  Line 16 
16   *    $Id$   *    $Id$
17   *    -----------------------------------------------------------------------------   *    -----------------------------------------------------------------------------
18   *    $Log$   *    $Log$
19     *    Revision 1.5  2003/03/20 07:20:31  jonen
20     *    + purged attic code
21     *
22   *    Revision 1.4  2003/03/11 01:42:58  joko   *    Revision 1.4  2003/03/11 01:42:58  joko
23   *    + fixed metadata for phpDocumentor   *    + fixed metadata for phpDocumentor
24   *   *
# Line 69  class Application_Request_Tracker { Line 72  class Application_Request_Tracker {
72    //var $pointers;    //var $pointers;
73    //var $stacks;    //var $stacks;
74    var $data;    var $data;
75      
76    function Application_Request_Tracker() {    function Application_Request_Tracker() {
77      php::session_register_safe('Application_Request_Tracker_data');      php::session_register_safe('Application_Request_Tracker_data');
78      $this->load();      $this->load();
# Line 134  class Application_Request_Tracker { Line 137  class Application_Request_Tracker {
137      return $pser;      return $pser;
138    }      }  
139    
140    function addExplorer($data) {    function addComponent($label, $data) {
141      $this->data['explorer'][] = $data;      $pointer = $this->getPointer;
142      $this->setExplorerPointer();      $pointer[$label] = $data;
143      $this->save();      $this->setMark($pointer);
   }  
   
   function setExplorerPointer($explicit = null) {  
     if (!$explicit) {  
       $this->data['explorer_pointer'] = $this->data['explorer'][sizeof($this->data['explorer']) - 1];  
     }  
144    }    }
145    
   function getExplorerPointer($pointer = null) {  
     if(!$pointer) {  
       return $this->data['explorer_pointer'];  
     }  
   }  
     
   function resetExplorer() {  
     unset($this->data['explorer']);  
     unset($this->data['explorer_pointer']);  
   }  
146    
147    
148    

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