Class DBMS_FIELD_TEXTAREA

Description

handels long string (blob) fields

Located in /db/frmClasses/DBMS_FIELD_TEXTAREA.phpclass (line 34)

DBMS_FIELD
   |
   --DBMS_FIELD_TEXTAREA
Direct descendents
Class Description
 class DBMS_FIELD_HTMLCODE Class DBMS_FIELD_HTMLCODE
 class DBMS_FIELD_HTMLSOURCE Class DBMS_FIELD_HTMLSOURCE
 class DBMS_FIELD_SQLSTATEMENT Class DBMS_FIELD_SQLSTATEMENT
 class DBMS_FIELD_WYMEDITOR openCSP class DBMS_FIELD_WYMEDITOR
Class Constant Summary
 CLASS_SRC_FILE = __FILE__
Variable Summary
Method Summary
 void editTblForm ([bool $showSize = False], [ $allowHTML = True])
 array editTbl_getFieldEditArr ([boolean $debug = False])
 string getExtJSConfigOptions ([boolean $debug = False])
 string getHtmlTag (mixed $aValue, [string $arrName = "DBVAL"], [boolean $debug = False])
 string getInputTag (mixed $aValue, [string $arrName = "DBVAL"], [string $nameAdd = ""], [ $debug = False])
 mixed getListValue ([mixed $aValue = NULL], [string $arrName = "DBVAL"], [bool $debug = False])
 string getScreenValue ([mixed $aValue = NULL], [string $arrName = "DBVAL"], [bool $debug = False])
 void save ()
Variables
bool $allowHTML = False (line 104)
  • var: use htmlspecialchars for output
  • access: protected

Redefined in descendants as:
string $className = "Textarea" (line 67)

source file of the class

  • since: pk-05-01-20
  • access: protected

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

source file of the class

  • since: pk-05-01-13
  • access: protected

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

Redefined in descendants as:
int $cols = 50 (line 83)
  • var: number of cols of the textarea
  • access: protected
string $extJSxType = 'textarea' (line 171)

xtype to use in the extJS framework for the field

  • access: protected

Redefinition of:
DBMS_FIELD::$extJSxType
xtype to use in the extJS framework for the field
boolean $isSearchable = False (line 73)
  • var: the long field has an index
  • access: protected

Redefinition of:
DBMS_FIELD::$isSearchable

Redefined in descendants as:
int $lstTAreaCols = 20 (line 147)
  • since: pk-06-09-06
int $lstTAreaRows = 4 (line 142)
  • since: pk-06-09-06
int $myHTMLOutMode (line 124)
  • since: pk-05-03-25
  • access: protected
int $myLstOutMode (line 130)
  • since: pk-05-03-25
  • access: protected
int $myLstOutSize (line 136)
  • since: pk-05-03-25
  • access: protected
int $myROShowMode (line 99)
  • var: current showMode
  • version: pk-03-10-10
  • access: protected
boolean $nlToBr = True (line 88)
  • var: replace \n with
  • access: protected

Redefined in descendants as:
int $rows = 5 (line 78)
  • var: number of rows of the textarea
  • access: protected
int $srcVersion = 2 (line 162)
  • var: current version of the source
  • since: pk-05-03-25

Redefinition of:
DBMS_FIELD::$srcVersion
mixed $static_Showmodes = array(0=>'ohne Tag',2=>'p',3=>'pre',1=>'textarea',4=>'li') (line 112)
  • staticvar: array $static_RoShowmodes: values of show mode in read only view
  • version: pk-05-03-14 mode 4 li added
  • version: pk-03-11-27 mode 2,3 added
  • access: protected
mixed $static_wrapMode = array('soft','hard','off') (line 118)
  • staticvar: array $static_wrapMode: values of wrap
  • version: pk-03-10-10
  • access: protected
string $wrap = "off" (line 93)

Inherited Variables

Inherited from DBMS_FIELD

DBMS_FIELD::$addTag
DBMS_FIELD::$ajaxDebug
DBMS_FIELD::$ajaxNotifyLst
DBMS_FIELD::$allowNull
DBMS_FIELD::$dbDesc
DBMS_FIELD::$defaultValue
DBMS_FIELD::$enableCopy
DBMS_FIELD::$enableEdit
DBMS_FIELD::$enableEditIfEmpty
DBMS_FIELD::$enableNew
DBMS_FIELD::$errMsg
DBMS_FIELD::$exportCSV
DBMS_FIELD::$extConfOptions
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::$inputAdd
DBMS_FIELD::$isHidden
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::$tabIndex
DBMS_FIELD::$toolTip
DBMS_FIELD::$toolTipAsTitle
DBMS_FIELD::$trimValue
Methods
editTblForm (line 281)

echos input form for field definition

  • version: pk-03-10-10
  • version: pk-06-11-29
void editTblForm ([bool $showSize = False], [ $allowHTML = True])
  • bool $showSize: show size and maxlength input
  • $allowHTML

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

Redefined in descendants as:
editTbl_getFieldEditArr (line 199)

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-06-04-29
  • since: pk-06-04-26
array editTbl_getFieldEditArr ([boolean $debug = False])
  • boolean $debug

Redefined in descendants as:
getExtJSConfigOptions (line 564)

returns options of an ext js field config object

NOTE the return string is NOT enclosed by {}

  • return: (json)
  • since: pk-08-09-09
  • access: public
string getExtJSConfigOptions ([boolean $debug = False])
  • boolean $debug
getHtmlTag (line 500)

gets a htmltag for the value

this is mainly used in CMS Module

  • version: pk-05-12-11
  • version: pk-07-01-14
  • since: pk-05-03-25
string getHtmlTag (mixed $aValue, [string $arrName = "DBVAL"], [boolean $debug = False])
  • mixed $aValue
  • string $arrName
  • boolean $debug

Redefined in descendants as:
getInputTag (line 350)

returns the html code for a editable formular element

  • version: pk-06-01-19
  • version: pk-07-09-24
  • since: pk-04-09-09
string getInputTag (mixed $aValue, [string $arrName = "DBVAL"], [string $nameAdd = ""], [ $debug = False])
  • mixed $aValue: the value to set
  • string $arrName
  • string $nameAdd: append something to name like "[VALUE]" for search forms
  • $debug

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

Redefined in descendants as:
getListValue (line 448)

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

  • return: the html representation of the field
  • version: pk-07-01-14
  • version: pk-07-11-28 ($this->allowHTML)
  • todo: strip_tags
  • since: pk-06-09-06
mixed 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 400)

returns the html representation of the field

  • return: the html representation of the field
  • version: pk-07-11-28 ($this->allowHTML)
  • version: pk-07-01-14
  • todo: strip_tags
string 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
save (line 292)

saves the field definition from $_POST array

  • version: pk-03-10-10
void save ()

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

Redefined in descendants as:

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()
Class Constants
CLASS_SRC_FILE = __FILE__ (line 43)

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