DBLNumberField is field designed to hold and enter numerical values.
It allows you to specify reqular expression to check the entered value and the minumim/maximum allowed value. If you do not wish the minimum/maximum check, set min to be greater than max. The check is off by default, btw. (The min is set to 0 and max to -1.)
It also prints the field value aligned to right. This can be overridden by setting the indexAttributes/detailAttributes property back to empty string after creating the field.
There are more specialized versions of this field (DBLIntegerdField, DBLMoneyField) which take advantage of this DBLNumberField's features.
Located in /DBLNumberField.php (line 25)
DBLField | --DBLTextField | --DBLNumberField
Class | Description |
---|---|
DBLIntegerField | Field to view/edit integer numbers. |
DBLCurrencyField | Field to view/edit currency. |
Inherited from DBLTextField
DBLTextField::$editSize
DBLTextField::$filterSize
DBLTextField::$maxLen
Inherited from DBLField
DBLField::$addAsterixes
DBLField::$allowEmpty
DBLField::$computed
DBLField::$dbName
DBLField::$default
DBLField::$detailAttributes
DBLField::$detailPostfix
DBLField::$detailPrefix
DBLField::$editAttributes
DBLField::$editPostfix
DBLField::$editPrefix
DBLField::$filterAttributes
DBLField::$filterPostfix
DBLField::$filterPrefix
DBLField::$indexAttributes
DBLField::$indexPostfix
DBLField::$indexPrefix
DBLField::$lookupField
DBLField::$name
DBLField::$needsMultipart
DBLField::$noOrderByTitle
DBLField::$readOnly
DBLField::$referenceURL
DBLField::$titleHTML
DBLField::$titleTxt
DBLField::$widgetAttributes
Constructor
Inherited From DBLTextField
DBLTextField::DBLTextField()
DBLTextField::formatEdit()
DBLTextField::formatFilter()
DBLTextField::formatWidget()
Inherited From DBLField
DBLField::DBLField()
DBLField::acceptFilterValue()
DBLField::acceptValue()
DBLField::addCondition()
DBLField::checkValue()
DBLField::formatDetail()
DBLField::formatEdit()
DBLField::formatFilter()
DBLField::formatIndex()
DBLField::jsCheck()
DBLField::setTitle()
DBLField::splitValue()
Documentation generated on Mon, 6 Sep 2004 21:57:15 +0200 by phpDocumentor 1.2.3