Class QIntegerTextBox
A subclass of TextBox with its validate method overridden -- Validate will also ensure that the Text is a valid integer and (if applicable) is in the range of Minimum <= x <= Maximum
We do not use the sanitize capability of QTextBox here. Sanitizing the data will change the data, and if the user does not type in an integer, we will not be able to put up a warning telling the user they made a mistake. You can easily change this behavior by setting SanitizeFilter = FILTER_SANITIZE_NUMBER_INT.
- QBaseClass
- QHtmlAttributeManagerBase
- QHtmlAttributeManager
- QControlBase
- QControl
- QTextBoxBase
- QTextBox
- QNumericTextBox
- QIntegerTextBox
public
|
|
public
array|boolean|integer|mixed|null|
|
GetModelConnectorParams(),
Validate(),
__set()
|
GetControlHtml(),
GetState(),
InitHtmlPurifier(),
ParsePostData(),
PutState(),
RenderHtmlAttributes(),
Sanitize(),
Select(),
SetPurifierConfig()
|
OverrideAttributes(),
__call()
|
CommentEnd,
CommentStart
|
$mixMaximum,
$mixMinimum,
$mixStep,
$strDataType,
$strLabelForGreater,
$strLabelForLess,
$strLabelForNotStepAligned
|
$strCssClass
|
$attributes,
$styles
|
public
integer|null
|
$Value
Returns the integer value of the text, sanitized. |
$LabelForGreater,
$LabelForLess,
$LabelForNotStepAligned,
$Maximum,
$Minimum,
$Step
|
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$HorizontalAlign,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$VerticalAlign,
$Width
|