/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/widgets/data_source/ProxyDataSource.inc
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/widgets/data_source/ProxyDataSource.inc

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

revision 1.1 by joko, Sat Mar 1 03:10:40 2003 UTC revision 1.2 by joko, Sat Mar 1 04:50:27 2003 UTC
# Line 19  Line 19 
19   * $Id$   * $Id$
20   *   *
21   * $Log$   * $Log$
22     * Revision 1.2  2003/03/01 04:50:27  joko
23     * encapsulated all output into tracing mode
24     * disabled tracing
25     *
26   * Revision 1.1  2003/03/01 03:10:40  joko   * Revision 1.1  2003/03/01 03:10:40  joko
27   * + initial commit   * + initial commit
28   *   *
# Line 96  include_once($phphtmllib."/widgets/data_ Line 100  include_once($phphtmllib."/widgets/data_
100   *   *
101   */   */
102    
103    
104  class ProxyDataSource extends MemoryDataSource {  class ProxyDataSource extends MemoryDataSource {
105    
106          /**          /**
# Line 140  class ProxyDataSource extends MemoryData Line 145  class ProxyDataSource extends MemoryData
145           * @param Query array - layout: array( type => '', metadata => '', dsn => '' )           * @param Query array - layout: array( type => '', metadata => '', dsn => '' )
146           */           */
147          function ProxyDataSource( &$locator, $query ) {          function ProxyDataSource( &$locator, $query ) {
148                    
149                    $this->trace = 0;
150                    
151                  $this->set_locator( $locator );                  $this->set_locator( $locator );
152                  $this->set_query( $query );                  $this->set_query( $query );
153          }          }
# Line 282  class ProxyDataSource extends MemoryData Line 290  class ProxyDataSource extends MemoryData
290          $this->_result = $this->_proxy->getAttributes();          $this->_result = $this->_proxy->getAttributes();
291    
292        // trace        // trace
293          //print "_result = " . Dumper($this->_result);          if ($this->trace) {
294          print "_result - count = " . sizeof($this->_result) . "<br/>";            //print "_result = " . Dumper($this->_result);
295              print "_result - count = " . sizeof($this->_result) . "<br/>";
296            }
297    
298        // pass data to MemoryDataSource        // pass data to MemoryDataSource
299    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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