Source for file DBMS_FIELD_DBATTRSELLIST.phpclass
Documentation is available at DBMS_FIELD_DBATTRSELLIST.phpclass
-   * Class file DBMS_FIELD_DBATTRSELLIST.phpclass 
-   * @project    Open CSP-Management 
-   * @author     Peter Krebs <p.krebs@lvus.at> 
-   * @copyright  © 2002-2005 by LVUS <http://www.lvus.at> 
-   * @license    http://opensource.org/licenses/gpl-license.php GNU Public License 
- if (empty($GLOBALS['OCSP']['DBMSFLD_PATH'])) $GLOBALS['OCSP']['DBMSFLD_PATH']- = dirname(- __FILE__ )- . "/";
 
- require_once $GLOBALS['OCSP']['DBMSFLD_PATH']- . "DBMS_FIELD_SELECTLIST.phpclass";
 
-   * Class DBMS_FIELD_DBATTRSELLIST 
-   * @project    Open CSP-Management 
-   * @author     Peter Krebs <p.krebs@lvus.at> 
-   * @copyright  © 2002-2005 by LVUS <http://www.lvus.at> 
-   * @license    http://opensource.org/licenses/gpl-license.php GNU Public License 
-       * source file of the class 
-       * @var string $classSrcFile  
-         parent::editTblForm($showSize); 
-         echo  "<tr><td class=\"fldName\">Tabelle:<td>";
-         echo  "<td class=\"fldValue\">";
-         echo  "<select name=\"ATTRIBTBL\">\n";
-         $tblLst- = $USRDB->getDBTblList();
 
-         while(- list ($key,$val)- = each($tblLst)) {
 
-             echo  "\t<option value=\"$val\"";
-             if ($val- == $this->attribTbl)- echo  " selected";
 
-         echo  "<tr><td class=\"fldName\">Attribut Label Field:<td>";
-         echo  "<td class=\"fldValue\">";
-         echo  "<input name=\"ATTRIBLABELFLD\" value=\""- . $this->attribLabelFld- . "\" size=\"32\">";
-         echo  "<tr><td class=\"fldName\">Attribut Label Field:<td>";
-         echo  "<td class=\"fldValue\">";
-         echo  "<input name=\"ATTRIBVALUEFLD\" value=\""- . $this->attribValueFld- . "\" size=\"32\">";
-         echo  "<tr><td class=\"fldName\">Get-Where-Params:<br>(; als Trennung)<td>";
-         echo  "<td class=\"fldValue\">";
-         echo  "<input name=\"GETPARAMS\" value=\""- . $this->getParams- . "\" size=\"32\">";
-         echo  "<tr><td class=\"fldName\">NULL Werte:<td>";
-         echo  "<td class=\"fldValue\">";
-         echo  "<input name=\"allowNullSelect\" type=\"checkbox\" "- . ($this->allowNullSelect-  ?  "checked"- :  "")- . " value=\"1\"> NULL Werte zulassen";
-         echo  "<tr><td class=\"fldName\">NULL Label:<td>";
-         echo  "<td class=\"fldValue\">";
-         echo  "<input name=\"NULLLABEL\" value=\""- . $this->nullLabel- . "\" size=\"40\">";
-     // ################################### 
-         echo  "<td class=\"fldName\">";
-             $objcmd - =  "\$DBOBJ = new DB_"- . $GLOBALS['PROJECT']['DBTYPE']- . ";";
 
-             $DBOBJ->publicConnect($GLOBALS['PROJECT']['DBCONF']); 
-             $dbVal- = $DBOBJ->quickQuery($this->query- . $where,1);
 
-             $dbVal- = $USRDB->quickQuery($this->query- . $where,1);
 
-         if (!empty($this->toolTip)) - echo  "</a>";
 
-         global $USRDB,- $ {$arrName};
 
-             $objcmd - =  "\$DBOBJ = new DB_"- . $GLOBALS['PROJECT']['DBTYPE']- . ";";
 
-             $DBOBJ->publicConnect($GLOBALS['PROJECT']['DBCONF']); 
-             $dbVals- = $DBOBJ->quickQuery($this->query- . $where,0);
 
-             $dbVals- = $USRDB->quickQuery($this->query- . $where,0);
 
-             while(- list ($key,$val)- = each($whereFlds)) {
 
-                 $where- .= " AND $val='"- . $_GET[$val]- . "'";
 
-             $objcmd - =  "\$DBOBJ = new DB_"- . $GLOBALS['PROJECT']['DBTYPE']- . ";";
 
-             $DBOBJ->publicConnect($GLOBALS['PROJECT']['DBCONF']); 
-             $dbVals- = $DBOBJ->quickQuery($this->query- . $where,0);
 
-             $dbVals- = $USRDB->quickQuery($this->query- . $where,0);
 
-         if ($GLOBALS['DEBUGMODE']) - echo  $this->query- . $where- . "<br><pre>"- . $dbVals- . "</pre><br>";
 
-         if ($GLOBALS['DEBUGMODE']) { - echo  "<pre>"; print_r($valArr);- echo  "</pre>"; }
 
-         if (!is_array($valArr)) $valArr- = array("NULL"- => "keine Datensätzegefunden");
 
-         if ($GLOBALS['DEBUGMODE']) { - echo  "<pre>"; print_r($this->myValues);- echo  "</pre>"; }
 
-     function writeField($mode,$aValue- = "",$arrName- = "DBVAL") {
 
-         return parent::writeField($mode,$aValue,$arrName); 
- } // end class DBMS_FIELD_DBSELECTLIST 
 
	
		Documentation generated on Thu, 08 Jan 2009 17:40:55 +0100 by phpDocumentor 1.4.0a2