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

Diff of /nfo/php/libs/org.netfrag.glib/Application/AbstractBackend.php

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

revision 1.3 by joko, Fri Feb 28 04:16:19 2003 UTC revision 1.4 by joko, Sat Mar 1 04:58:02 2003 UTC
# Line 3  Line 3 
3  //  $Id$  //  $Id$
4  // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
5  //  $Log$  //  $Log$
6    //  Revision 1.4  2003/03/01 04:58:02  joko
7    //  shifted four methods one more level to concreteness
8    //
9  //  Revision 1.3  2003/02/28 04:16:19  joko  //  Revision 1.3  2003/02/28 04:16:19  joko
10  //  fix: getStatus now return status in bool  //  fix: getStatus now return status in bool
11  //  //
# Line 46  class Application_AbstractBackend { Line 49  class Application_AbstractBackend {
49    
50    }    }
51        
   function getObjectList() {  
     return $this->_remote_method('getObjectList');  
   }  
   
   function getObjects($obj_type) {  
     return $this->_remote_method('getObjects', $obj_type);  
   }  
   
   function getObjectByGuid($obj_guid, $classname) {  
     return $this->_remote_method('getObjectByGuid', array('guid' => $obj_guid, 'classname' => $classname));  
   }  
   
   function saveObjectByGuid($obj, $classname) {  
     return $this->_remote_method('saveObjectByGuid', array('data' => $obj, 'guid' => $obj['guid'], 'classname' => $classname));  
   }  
   
52    function getStatus() {    function getStatus() {
53      global $app;      global $app;
54      $proxy = mkObject('Data::Driver::Proxy', null, array( remote => 1, rpcinfo => $app->getConfig("rpcinfo") ) );      $proxy = mkObject('Data::Driver::Proxy', null, array( remote => 1, rpcinfo => $app->getConfig("rpcinfo") ) );

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

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