Class DBMS_FIELD_INT

Description

Class DBMS_FIELD_INT

  • author: Peter Krebs <p.krebs@lvus.at>
  • copyright: (c) 2002-2003 by Peter Krebs and Landesverlag Unternehmensservice
  • project: Open CSP-Management
  • license: GNU Public License

Located in /db/frmClasses/DBMS_FIELD_INT.phpclass (line 35)

DBMS_FIELD
   |
   --DBMS_FIELD_INT
Direct descendents
Class Description
 class DBMS_FIELD_AUTINC_KEY Class DBMS_FIELD_AUTINC_KEY
 class DBMS_FIELD_ORDERNR Class DBMS_FIELD_ORDERNR
Variable Summary
 mixed $className
 string $classSrcFile
 boolean $hideUnitInLst
 string $inputAdd
 mixed $javaCheck
 boolean $null2zero
 string $unit
Method Summary
 void editTblForm ([boolean $showSize = FALSE], [boolean $showUnit = TRUE], [boolean $showNull = TRUE])
 array editTbl_getFieldEditArr ([boolean $debug = FALSE])
 string getInputTag (mixed $aValue, string $arrName, [string $nameAdd = ""])
 string getListValue ([mixed $aValue = NULL], [string $arrName = "DBVAL"], [bool $debug = FALSE])
 mixed getScreenValue ([mixed $aValue = NULL], [string $arrName = "DBVAL"], [bool $debug = FALSE])
 string getSearchCompTypes (string $arrName)
 string getValue (string $aValue,  &$err, [string $arrName = "DBVAL"], [bool $debug = FALSE], array $err)
 boolean save ()
 string searchWhere (array $aArr, [bool $debug = FALSE])
 string slashedValue (string $aValue,  &$err, [string $arrName = "DBVAL"], [bool $debug = FALSE], array $err)
 void writeSearchCompTypes (string $arrName)
Variables
mixed $className = "Integer" (line 36)

Redefined in descendants as:
string $classSrcFile = __FILE__ (line 62)

source file of the class

  • since: pk-05-01-14

Redefinition of:
DBMS_FIELD::$classSrcFile
source file of the class

Redefined in descendants as:
mixed $defaultValue = 0 (line 38)

Redefinition of:
DBMS_FIELD::$defaultValue
boolean $hideUnitInLst = FALSE (line 49)
  • since: pk-07-03-05
  • access: protected
string $inputAdd = "style=\"text-align:right;\"" (line 68)
  • var: overwrite default
  • since: pk-06-12-04

Redefinition of:
DBMS_FIELD::$inputAdd
mixed $javaCheck = TRUE (line 37)
boolean $null2zero = FALSE (line 54)
  • var: save NULL values as zero (0)
string $unit = "" (line 42)
  • var: added to the output

Inherited Variables

Inherited from DBMS_FIELD

DBMS_FIELD::$addTag
DBMS_FIELD::$ajaxDebug
DBMS_FIELD::$ajaxNotifyLst
DBMS_FIELD::$allowNull
DBMS_FIELD::$dbDesc
DBMS_FIELD::$enableCopy
DBMS_FIELD::$enableEdit
DBMS_FIELD::$enableEditIfEmpty
DBMS_FIELD::$enableNew
DBMS_FIELD::$errMsg
DBMS_FIELD::$exportCSV
DBMS_FIELD::$extConfOptions
DBMS_FIELD::$extJSxType
DBMS_FIELD::$fieldtd_add
DBMS_FIELD::$fldDbgGetValue
DBMS_FIELD::$fldDebug
DBMS_FIELD::$hideAddTag_ro
DBMS_FIELD::$hideCopy
DBMS_FIELD::$hideEdit
DBMS_FIELD::$hideNew
DBMS_FIELD::$hideReadOnly
DBMS_FIELD::$isHidden
DBMS_FIELD::$isSearchable
DBMS_FIELD::$js_check
DBMS_FIELD::$label
DBMS_FIELD::$labelcol_hide
DBMS_FIELD::$labeltd_add
DBMS_FIELD::$lstColSpan
DBMS_FIELD::$lstDisableLinks
DBMS_FIELD::$lstLabel
DBMS_FIELD::$lstLink
DBMS_FIELD::$lstTDAdd
DBMS_FIELD::$lstWidth
DBMS_FIELD::$maxlength
DBMS_FIELD::$myAjaxObj
DBMS_FIELD::$myBlock
DBMS_FIELD::$myBlockId
DBMS_FIELD::$myControll
DBMS_FIELD::$myCurrentMode
DBMS_FIELD::$myDataArrName
DBMS_FIELD::$myDeleteFlag
DBMS_FIELD::$myDesc
DBMS_FIELD::$myDOMId
DBMS_FIELD::$myForm
DBMS_FIELD::$myFrmId
DBMS_FIELD::$myGrpKey
DBMS_FIELD::$myHelpUrl
DBMS_FIELD::$myModuleKey
DBMS_FIELD::$myName
DBMS_FIELD::$myTable
DBMS_FIELD::$myTableAlias
DBMS_FIELD::$myView
DBMS_FIELD::$nullErrMsg
DBMS_FIELD::$ps_defaultDataArrName
DBMS_FIELD::$regexcheck_pattern
DBMS_FIELD::$regexErrMsg
DBMS_FIELD::$searchGroup_allowAll
DBMS_FIELD::$showGroup
DBMS_FIELD::$showInList
DBMS_FIELD::$showQasHidden
DBMS_FIELD::$showQuery
DBMS_FIELD::$size
DBMS_FIELD::$sortOrder
DBMS_FIELD::$srcVersion
DBMS_FIELD::$tabIndex
DBMS_FIELD::$toolTip
DBMS_FIELD::$toolTipAsTitle
DBMS_FIELD::$trimValue
Methods
editTblForm (line 126)

echos the filed definition form

  • deprecated: since pk-06-06-29
void editTblForm ([boolean $showSize = FALSE], [boolean $showUnit = TRUE], [boolean $showNull = TRUE])
  • boolean $showSize: obsulet
  • boolean $showUnit: obsulet
  • boolean $showNull: obsulet

Redefinition of:
DBMS_FIELD::editTblForm()
show the filed definition form

Redefined in descendants as:
editTbl_getFieldEditArr (line 100)

returns an array of field to bie shown in the edit form by using editTbl_echoForm

the array is in the form:

  1.  [_sectionName_]
  2.       [TITLE-> string
  3.       [_rowName_]
  4.          [FLDLAB]  (complete html code with <td></td>)
  5.          [FLDVAL(complete html code with <td></td>)

  • version: pk-07-03-05 (hideUnitInLst)
  • since: pk-06-06-29
array editTbl_getFieldEditArr ([boolean $debug = FALSE])
  • boolean $debug

Redefined in descendants as:
getInputTag (line 165)

adds $this->unit to to parent::getInputTag()

string getInputTag (mixed $aValue, string $arrName, [string $nameAdd = ""])
  • mixed $aValue: the value to set
  • string $arrName
  • string $nameAdd: append something to name like "[VALUE]" for search forms

Redefinition of:
DBMS_FIELD::getInputTag()
returns the html code for a editable formular element
getListValue (line 290)

returns the html representation of the field in a list (table col)

  • return: the html representation of the field
  • since: pk-07-03-05
string getListValue ([mixed $aValue = NULL], [string $arrName = "DBVAL"], [bool $debug = FALSE])
  • mixed $aValue: the falue
  • string $arrName: name of the global array holding data values
  • bool $debug: show debug info

Redefinition of:
DBMS_FIELD::getListValue()
returns the html representation of the field in a list (table col)
getScreenValue (line 274)

adds unit to parent::getScreenValue()

  • return: the html representation of the field
mixed getScreenValue ([mixed $aValue = NULL], [string $arrName = "DBVAL"], [bool $debug = FALSE])
  • mixed $aValue: the falue
  • string $arrName: name of the global array holding data values
  • bool $debug: show debug info

Redefinition of:
DBMS_FIELD::getScreenValue()
returns the html representation of the field
getSearchCompTypes (line 209)

returns the html code for the search compare type select

  • since: pk-04-12-29
string getSearchCompTypes (string $arrName)
  • string $arrName

Redefined in descendants as:
getValue (line 309)

returns the field value

  • version: pk-04-12-02
  • since: pk-03-12-13
string getValue (string $aValue,  &$err, [string $arrName = "DBVAL"], [bool $debug = FALSE], array $err)
  • string $aValue: the value
  • array $err: error array
  • string $arrName: name of the array to access fieldsarray gloabl ${$arrName}
  • bool $debug
  • &$err

Redefined in descendants as:
save (line 141)

saves the form desc

  • version: pk-04-10-12
  • version: pk-07-03-05 (hideUnitInLst)
boolean save ()

Redefinition of:
DBMS_FIELD::save()
save the filed definition form

Redefined in descendants as:
searchWhere (line 230)

returns the where statement part for the field

  • version: pk-05-02-04
string searchWhere (array $aArr, [bool $debug = FALSE])
  • array $aArr: form input array
  • bool $debug
slashedValue (line 348)

add slashes to the value to add it to a sql command

  • version: pk-03-12-13
string slashedValue (string $aValue,  &$err, [string $arrName = "DBVAL"], [bool $debug = FALSE], array $err)
  • string $aValue: the value
  • array $err: error array
  • string $arrName: name of the global array to access field gloabl ${$arrName}
  • bool $debug
  • &$err

Redefined in descendants as:
writeSearchCompTypes (line 195)

echos a compare type select for search forms

  • version: pk-04-12-29
void writeSearchCompTypes (string $arrName)
  • string $arrName

Inherited Methods

Inherited From DBMS_FIELD

 DBMS_FIELD::DBMS_FIELD()
 DBMS_FIELD::allowNull()
 DBMS_FIELD::check()
 DBMS_FIELD::editLst_getAdminLstStyle()
 DBMS_FIELD::editLst_getClassSelectOptions()
 DBMS_FIELD::editTblForm()
 DBMS_FIELD::editTbl_echoForm()
 DBMS_FIELD::editTbl_getForm()
 DBMS_FIELD::fldTypeIsUseable()
 DBMS_FIELD::getAddTag()
 DBMS_FIELD::getBlockId()
 DBMS_FIELD::getDataArrName()
 DBMS_FIELD::getDBColName()
 DBMS_FIELD::getDBColType()
 DBMS_FIELD::getDbDefault()
 DBMS_FIELD::getdbDesc()
 DBMS_FIELD::getDebugMode()
 DBMS_FIELD::getDefaultValue()
 DBMS_FIELD::getFieldRow()
 DBMS_FIELD::getFieldRowCols()
 DBMS_FIELD::getFieldTag()
 DBMS_FIELD::getFrmId()
 DBMS_FIELD::getInputTag()
 DBMS_FIELD::getKey()
 DBMS_FIELD::getLabel()
 DBMS_FIELD::getLabelColTag()
 DBMS_FIELD::getListLink()
 DBMS_FIELD::getListLinkArr()
 DBMS_FIELD::getListValue()
 DBMS_FIELD::getLstColSpan()
 DBMS_FIELD::getLstLabel()
 DBMS_FIELD::getLstWidth()
 DBMS_FIELD::getModuleKey()
 DBMS_FIELD::getMyBlock()
 DBMS_FIELD::getMyForm()
 DBMS_FIELD::getMyFormName()
 DBMS_FIELD::getName()
 DBMS_FIELD::getObjectData()
 DBMS_FIELD::getObjectVars()
 DBMS_FIELD::getOrderNr()
 DBMS_FIELD::getScreenValue()
 DBMS_FIELD::getSetting()
 DBMS_FIELD::getShowGroup()
 DBMS_FIELD::getSize()
 DBMS_FIELD::getSourceFile()
 DBMS_FIELD::getTabIndex()
 DBMS_FIELD::getTable()
 DBMS_FIELD::getTblAlias()
 DBMS_FIELD::getToolTip()
 DBMS_FIELD::getType()
 DBMS_FIELD::getValId()
 DBMS_FIELD::get_lstTDAdd()
 DBMS_FIELD::incOrderNr()
 DBMS_FIELD::isAutoInc()
 DBMS_FIELD::isEnabled()
 DBMS_FIELD::isHidden()
 DBMS_FIELD::isLayoutFld()
 DBMS_FIELD::isMarkedDeleted()
 DBMS_FIELD::isPrimaryKey()
 DBMS_FIELD::isReadOnlyShown()
 DBMS_FIELD::isSearchable()
 DBMS_FIELD::isToShow()
 DBMS_FIELD::labelIsHidden()
 DBMS_FIELD::lstLinksDisabled()
 DBMS_FIELD::markDeleted()
 DBMS_FIELD::markUnDeleted()
 DBMS_FIELD::save()
 DBMS_FIELD::setDataArrName()
 DBMS_FIELD::setdbDesc()
 DBMS_FIELD::setFieldVar()
 DBMS_FIELD::setFrmId()
 DBMS_FIELD::setHidden()
 DBMS_FIELD::setLabel()
 DBMS_FIELD::setModuleKey()
 DBMS_FIELD::setMyBlock()
 DBMS_FIELD::setMyForm()
 DBMS_FIELD::setName()
 DBMS_FIELD::setObjectVars()
 DBMS_FIELD::setObjVarsFrom()
 DBMS_FIELD::setOrderNr()
 DBMS_FIELD::setShown()
 DBMS_FIELD::setTable()
 DBMS_FIELD::setTblAlias()
 DBMS_FIELD::showInList()

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