Source for file DBMS_FIELD_ADRSELECT.phpclass
Documentation is available at DBMS_FIELD_ADRSELECT.phpclass
* Class file DBMS_FIELD_ADRSELECT.phpclass
* @project Open CSP-Management
* @author Peter Krebs <pitlinz@users.sourceforge.net>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: DBMS_FIELD_ADRSELECT.phpclass,v 1.5 2008/04/29 23:27:10 pitlinz Exp $
require_once dirname(__FILE__
) .
_OCSP_DIRSEP_ .
"DBMS_FIELD_FOREIGNKEY.phpclass";
* Class file DBMS_FIELD_ADRSELECT.phpclass
* @project Open CSP-Management
* @author Peter Krebs <pitlinz@users.sourceforge.net>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: DBMS_FIELD_ADRSELECT.phpclass,v 1.5 2008/04/29 23:27:10 pitlinz Exp $
* source file of the class
* @var string $classSrcFile
* @var string $lookupTable
* @see DBMS_FIELD_DBLOOKUPSELECT
* @var string $lookupShowField
* @see DBMS_FIELD_DBLOOKUPSELECT
protected $lookupShowField =
"CONCAT(IFNULL(CONCAT(ADR_STREET,', '),''),IFNULL(CONCAT(ADR_COUNTRY,'-'),''),ADR_ZIP,' ',ADR_CITY)";
* @var string $lookupField
* @see DBMS_FIELD_DBLOOKUPSELECT
* @var string $lookupSort command string after 'ORDER BY' if empty
* @see DBMS_FIELD_DBLOOKUPSELECT
* 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>)
if (empty($this->lookupShowField)) $this->lookupShowField=
"CONCAT(IFNULL(CONCAT(ADR_STREET,', '),''),IFNULL(CONCAT(ADR_COUNTRY,'-'),''),ADR_ZIP,' ',ADR_CITY)";
if (empty($this->whereAnd)) $this->whereAnd =
"(CLI_ID=0 OR CLI_ID='$*CLI_ID$' OR CLI_ID='$^CLI_ID$')";
Documentation generated on Thu, 08 Jan 2009 17:40:30 +0100 by phpDocumentor 1.4.0a2