Source for file DBMS_FIELD_LAYOUT_CHKBOXGRP.phpclass
Documentation is available at DBMS_FIELD_LAYOUT_CHKBOXGRP.phpclass
* Class file DBMS_FIELD_LAYOUT_CHKBOXGRP.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
require_once $GLOBALS['OCSP']['DBMSFLD_PATH'].
"DBMS_FIELD_FLDGROUP.phpclass";
* Class DBMS_FIELD_LAYOUT_CHKBOXGRP
* @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
// ###########################################################
// OBJECT (CONST) VAR DECLARATION
// ###########################################################
* @var boolean $addSubLabels
* source file of the class
* (without $GLOBALS['PROJECT']['PATH']
* @var string $classSrcFile
// ###########################################################
// OBJECT SETTINGS METHODS
// ###########################################################
* save the filed definition form
// ###########################################################
// ###########################################################
// ###########################################################
// OBJECT HTML FORM METHODS
// ###########################################################
* html output of the field (no value)
* @param int $mode show mode of the field
* @param mixed $aValue value of the field
* @param string $arrName array in Name of the html input form <input name=ARRNAME[FIELDNAME]>
* it also needs to be a global array global ${$arrName}
* @param bool $debug show debug info
* @return bool TRUE if an input field is written
* @version pk-05-02-04 set $fld->myDataArrName
global $
{$this->myDataArrName};
$debug=
($debug ||
$this->fldDebug); /* <pk-04-12-28 /> */
echoDebug(__FILE__
,"<p><b>DBMS_FIELD_LAYOUT_CHKBOXGRP::getFieldTag($mode,$aValue,$debug)</b></p>",0);
foreach($fldLst as $key =>
$fld) {
if ($debug) echoDebug(__FILE__
,"<p>Checking Field: ".
$fld->getKey().
"</p>",2);
$fld->setDataArrName($this->myDataArrName); /* <pk-05-02-04 /> */
if ($debug) echoDebug(__FILE__
,"<blockquote>Adding Field: ".
($fld->getKey()).
" (".
get_class($fld->getKey()).
") Value: ".$
{$this->myDataArrName}[$fld->getName()].
"</blockquote>",2);
$ret.=
$fld->getFieldTag($mode,$
{$this->myDataArrName}[$fld->getName()],$debug,FALSE);
$ret.=
" ".
$fld->getLabel().
" ";
$GLOBALS['TMP_GRPFIELDS_'.
$this->myFrmId].=
$comma.
$fld->getName();
if ($debug) echoDebug(__FILE__
,"<blockqoute>Found but hidden</blockquote>",1);
if ($debug) echoDebug(__FILE__
,"</blockquote>",1);
// ###########################################################
// ###########################################################
// ###########################################################
// OBJECT HTML FORM METHODS
// ###########################################################
// ###########################################################
// OBJECT VALUE CHECK METHODS
// ###########################################################
} // end class DBMS_FIELD_LAYOUT_CHKBOXGRP
Documentation generated on Thu, 08 Jan 2009 17:42:13 +0100 by phpDocumentor 1.4.0a2