Source for file DBMS_FIELD_TREEPARENTSELECT.phpclass
Documentation is available at DBMS_FIELD_TREEPARENTSELECT.phpclass
-   * Class file DBMS_FIELD_TREEPARENTSELECT.phpclass 
-   * @project    Open CSP-Management 
-   * @author     Peter Krebs <p.krebs@crewboerse.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_TREESELECT.phpclass";
 
-   * Class DBMS_FIELD_TREEPARENTSELECT 
-   * @project    Open CSP-Management 
-   * @author     Peter Krebs <p.krebs@crewboerse.at> 
-   * @license    http://opensource.org/licenses/gpl-license.php GNU Public License 
-       * source file of the class 
-       * @var string $classSrcFile  
-       * @var string whereAndAdd userdefined where condition 
-     // ########################################################### 
-     // OBJECT SETTINGS METHODS 
-     // ########################################################### 
-       * returns an array of field to bie shown in the edit form 
-       * by using editTbl_echoForm 
-       * the array is in the form: 
-       *         [FLDLAB]  (complete html code with <td></td>) 
-       *         [FLDVAL] (complete html code with <td></td>) 
-         $a_ret['DBLOOKUP']['FLD_FOREIGNTBL']['FLDVAL']- = $this->myTable;
 
-         $s_keyFld- = (empty($this->keyField)- ?  "[Schlüsselfeld]"- :  $this->keyField);
 
-         $a_ret['DBLOOKUP']['FLD_WHEREFLD']['FLDVAL']- = "
 
-                         <div style=\"float:left\"> 
-                             WHERE "- . $this->myName- . "<>'\$*"- . $s_keyFld- . "\$ AND
 
-                         <input type=\"checkbox\" name=\"checkWhereAnd\" value=\"1\" "- . (($this->checkWhereAnd)- ?  "checked "- :  "")- . "> beim Prüfen verwenden
 
-         unset ($a_ret['DBLOOKUP']['PARENTFIELD']);
-       * saves the field definition 
-         if (- isset ($this->treeTbl))- unset ($this->treeTbl);
 
-         // save the parent first to be sure to have the table in DBcheckEditInput 
-         if ($ret- = parent::save()) {
 
-             $this->whereAndAdd- = (- isset ($_POST['whereAndAdd'])- ?  trim($_POST['whereAndAdd'])- :  "");
 
-             $this->whereAnd- = $this->parentField- . "<>'\$*"- . $this->keyField- . "\$'";
 
-     // ########################################### 
 
	
		Documentation generated on Thu, 08 Jan 2009 17:43:08 +0100 by phpDocumentor 1.4.0a2