commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/phpforms NEWS src/gnue-forms.php src/gcomm...


From: Jan Ischebeck
Subject: gnue/phpforms NEWS src/gnue-forms.php src/gcomm...
Date: Fri, 05 Jul 2002 18:36:34 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jan Ischebeck <address@hidden>  02/07/05 18:36:34

Modified files:
        phpforms       : NEWS 
        phpforms/src   : gnue-forms.php 
Added files:
        phpforms/src   : gcomm.php 

Log message:
        add preliminary GNURPC for PHP, and a pre-pre-pre-alpha appserver 
dbbackend
        (just read and write for one form)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/phpforms/NEWS.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/phpforms/src/gcomm.php?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/phpforms/src/gnue-forms.php.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: gnue/phpforms/NEWS
diff -c gnue/phpforms/NEWS:1.1 gnue/phpforms/NEWS:1.2
*** gnue/phpforms/NEWS:1.1      Mon May  6 18:34:55 2002
--- gnue/phpforms/NEWS  Fri Jul  5 18:36:34 2002
***************
*** 0 ****
--- 1,8 ----
+ 2002-07-06
+ 
+ added GNURPC (using XMLRPC for PHP from usefulinc.com) pre alpha version.
+ 
+ added an preliminary appserver db backend 
+ [just second demo (state_maint.gfd) should work, don't forget to add
+ the tablename to the accessable tables, by INSERT INTO appserver_users 
+ VALUES ("test","test","state"); ]
Index: gnue/phpforms/src/gnue-forms.php
diff -c gnue/phpforms/src/gnue-forms.php:1.4 
gnue/phpforms/src/gnue-forms.php:1.5
*** gnue/phpforms/src/gnue-forms.php:1.4        Mon May 27 14:21:30 2002
--- gnue/phpforms/src/gnue-forms.php    Fri Jul  5 18:36:34 2002
***************
*** 43,49 ****
                  //   0,1 no debugging messages
  
  require_once("connection.php");
! #require_once("xmlrpc.inc");  // has to be included here to get global scope
  
  // +++++++++++++ Debugging Code ++++++++++++++++++++++++++++++
  
--- 43,49 ----
                  //   0,1 no debugging messages
  
  require_once("connection.php");
! require_once("xmlrpc.inc");  // has to be included here to get global scope
  
  // +++++++++++++ Debugging Code ++++++++++++++++++++++++++++++
  
***************
*** 154,162 ****
  }
  
  function getDatabaseOfType($type) {
!     if ($type=="XMLRPCtoCommonGateway") {        
!         require_once("xmlrpc_Gateway.inc");
!         $db=new XMLRPCtoCommonDB;
          // Attr: Commonprovider
      }
      if (($type=="pgsql")||
--- 154,162 ----
  }
  
  function getDatabaseOfType($type) {
!     if ($type=="appserver") {        
!         require_once("gcomm.php");
!         $db=new GNURPCtoAppServer;
          // Attr: Commonprovider
      }
      if (($type=="pgsql")||
***************
*** 276,284 ****
      var $querymode;
      var $querydata; 
  
-     // SOAPconnect
-     var $SOAP;
- 
      function xE_datasource() {   
          parent::xmlEntity();
          $this->type="xE_datasource";
--- 276,281 ----
***************
*** 320,325 ****
--- 317,323 ----
      function isSaved() {
          $this->Dataset->isSaved();
      }
+     function clearCache() {}
      function markforRemoval ($recordno) {
          if ($this->querymode) return;
          $this->Dataset->markforRemoval($recordno);
***************
*** 1083,1089 ****
          $b->setParent($this); 
  
          // check if datasource exists
!         if (array_key_exists($attr["DATASOURCE"], $this->datasources)) {
             
              $dts=&$this->datasources[$attr["DATASOURCE"]];
              DEBUG(6,"Using Datasource '".$attr["DATASOURCE"]."' for block '".
--- 1081,1088 ----
          $b->setParent($this); 
  
          // check if datasource exists
!         if (array_key_exists("DATASOURCE",$attr) &&
!             array_key_exists($attr["DATASOURCE"], $this->datasources)) {
             
              $dts=&$this->datasources[$attr["DATASOURCE"]];
              DEBUG(6,"Using Datasource '".$attr["DATASOURCE"]."' for block '".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]