ClassInterface INFA_DBMS_FIELD

Description

interface to handle a form field

Located in /db/frmClasses/INFA_DBMS_FIELD.phpclass (line 28)


	
			
Method Summary
 boolean checkControll ([string $str_className = 'OCSP_FRMCONTR'], [boolean $debug = False])
 boolean editTabl_save ([boolean $debug = False])
 string editTbl_getForm ([array $fldEditArr = NULL], [boolen $debug = False])
 string getDOMId ()
 string getFormFieldTag (int $mode, [mixed $aValue = NULL], [boolean $debug = False])
 string getFormLabelTag (int $mode, [boolean $debug = False])
 string getInputName ()
 string getValue (string $aValue,  &$err, [string $arrName = "DBVAL"], [bool $debug = False], array $err)
 string jOCSP_getFieldObj ([boolean $debug = False])
 string jOCSP_getRequiredModules ([boolean $debug = False])
 void setControll ( &$aControll, OCSP_FRMCONTR $aControll)
 void setView ( &$aView, OCSP_FRMVIEW $aView)
Methods
checkControll (line 123)

sets $this->myControll form $this->myForm if not pcf_is_instance_of $str_className

  • access: public
boolean checkControll ([string $str_className = 'OCSP_FRMCONTR'], [boolean $debug = False])
  • string $str_className
  • boolean $debug
editTabl_save (line 77)

save the filed definition form

  • access: public
boolean editTabl_save ([boolean $debug = False])
  • boolean $debug
editTbl_getForm (line 65)

returns the field definition form

  • return: (html)
  • access: public
string editTbl_getForm ([array $fldEditArr = NULL], [boolen $debug = False])
  • array $fldEditArr
  • boolen $debug
getControll (line 113)

returns the controll object

  • access: public
OCSP_FRMCONTR &getControll ()
getDOMId (line 49)

returns a unique DOM id for the field

  • access: public
string getDOMId ()
getFormFieldTag (line 174)

returns the html code for the field value input / show

  • access: public
string getFormFieldTag (int $mode, [mixed $aValue = NULL], [boolean $debug = False])
  • int $mode
  • mixed $aValue
  • boolean $debug
getFormLabelTag (line 162)

return the html tag for the label

  • access: public
string getFormLabelTag (int $mode, [boolean $debug = False])
  • int $mode
  • boolean $debug
getInputName (line 41)

returns the input name

  • access: public
string getInputName ()
getValue (line 192)

returns the field value

string getValue (string $aValue,  &$err, [string $arrName = "DBVAL"], [bool $debug = False], array $err)
  • string $aValue: the value
  • array $err: error array
  • string $arrName: global data array name used for global ${$arrName}
  • bool $debug
  • &$err
getView (line 97)

returns the view object

  • access: public
OCSP_FRMVIEW &getView ()
jOCSP_getFieldObj (line 147)

returns the javascript code to register the field to an form

  • return: (json)
  • access: public
string jOCSP_getFieldObj ([boolean $debug = False])
  • boolean $debug
jOCSP_getRequiredModules (line 138)

returns an array of jOCSP/jQuery Modules which are required

$arr_ret[]="script url";

  • access: public
string jOCSP_getRequiredModules ([boolean $debug = False])
  • boolean $debug
setControll (line 105)

sets the controll object

  • access: public
void setControll ( &$aControll, OCSP_FRMCONTR $aControll)
setView (line 89)

sets the view object

  • access: public
void setView ( &$aView, OCSP_FRMVIEW $aView)

Documentation generated on Thu, 08 Jan 2009 17:44:26 +0100 by phpDocumentor 1.4.0a2