Source for file DBMS_FIELD_LAYOUT_LINKBTTN.phpclass
Documentation is available at DBMS_FIELD_LAYOUT_LINKBTTN.phpclass
* Class file DBMS_FIELD_LAYOUT_LINKBTTN.phpclass
* @project Open CSP-Management
* @author Peter Krebs <p.krebs@lvus.at>
* @copyright © 2002-2005 by Peter Krebs and Landesverlag Unternehmensservice
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
if (!file_exists($GLOBALS['OCSP']['DBMSFLD_PATH'].
"DBMS_FIELD_LAYOUT.phpclass")) {
$GLOBALS['OCSP']['DBMSFLD_PATH']=
dirname(__FILE__
).
"/";
require_once $GLOBALS['OCSP']['DBMSFLD_PATH'].
"DBMS_FIELD_LAYOUT.phpclass";
* Class DBMS_FIELD_LAYOUT_LINKBTTN
* @project Open CSP-Management
* @author Peter Krebs <p.krebs@wpus.at>
* @copyright © 2002-2004 by Landesverlag Unternehmensservice
* @copyright © 2005 by WURM und Partner Unternehmensservice
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
// ###########################################################
// OBJECT (CONST) VAR DECLARATION
// ###########################################################
* source file of the class
* @var string $classSrcFile
// ###########################################################
// 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=
parent::editTbl_getFieldEditArr($debug);
unset
($a_ret['COMMON']['FRM_DBCOL']);
unset
($a_ret['COMMON']['FRM_DBDESC']);
unset
($a_ret['COMMON']['FRM_DEFVAL']);
unset
($a_ret['VALCHECKS']);
unset
($a_ret['LAYOUT']['FLD_SIZE']);
unset
($a_ret['LAYOUT']['FLD_TABIDX']);
unset
($a_ret['LAYOUT']['FLD_INPUTADD']);
unset
($a_ret['LAYOUT']['FLD_HELPURL']);
$a_ret['LAYOUT']['LNKBTNINFO']=
array(
'FLDLAB'=>
"Formularwert:",
'FLDVAL'=>
"Der Listen Link wird dargestellt"
unset
($a_ret['SHOW']['FLD_ALLOW']);
$a_ret['LIST']['FLD_LISTSHOW']=
array(
'FLDLAB'=>
"Listen Anzeige",
'FLDVAL'=>
"<input name=\"SHOWINLIST\" type=\"checkbox\" ".
($this->showInList ?
"checked" :
"").
" value=\"1\"> in Liste"
unset
($a_ret['LIST']['FLD_LSTLAB']);
unset
($a_ret['LIST']['FLD_LISTTDADD']);
* echos the filed definition form
* as not all classes alread have the method editTbl_getFieldEditArr
* we had to implement this here
* @deprecated since pk-06-09-12
* save the filed definition form
//$this->label =$this->lstLink['TEXT'];
// ###########################################################
// ###########################################################
// ###########################################################
// OBJECT HTML FORM METHODS
// ###########################################################
* returns the html code for the field value input / show
* adds $this->myName to ${$this->myDataArrName}['_DBMS_FIELDS']
function getFieldTag($mode,$aValue=
NULL,$debug=
FALSE) {
if ($debug) echo
"<p><b>DBMS_FIELD_LAYOUT_LINKBTTN::getFieldTag($mode,$aValue,...)</b> (".
get_class($this).
")";
return ""; // no html output of the field value
* returns the html code for a editable formular element
* @param mixed $aValue the value to set
* @param string $nameAdd append something to name like "[VALUE]" for search forms
* @param boolean $debug since pk-06-08-09
function getInputTag($aValue,$arrName=
"DBVAL",$nameAdd=
"",$debug=
FALSE) {
if ($debug) echo
"<p><b>DBMS_FIELD_LAYOUT_LINKBTTN::getInputTag($mode,$aValue,...)</b> (".
get_class($this).
")";
require_once $GLOBALS['OCSP']['PHPINCPATH'].
"common/pcf_templates.phpinc";
* do nothing because we have no input col
function writeInputCol($mode,$aValue=
"",$arrName=
"DBVAL",$debug=
FALSE) {
// ###########################################################
// ###########################################################
// ###########################################################
// OBJECT HTML FORM METHODS
// ###########################################################
// ###########################################################
// OBJECT VALUE CHECK METHODS
// ###########################################################
} // end class DBMS_FIELD_LAYOUT_LINKBTTN
Documentation generated on Thu, 08 Jan 2009 17:42:14 +0100 by phpDocumentor 1.4.0a2