negative numbers

This commit is contained in:
Roland Gruber 2013-08-22 16:43:47 +00:00
parent 95dca33041
commit 27136315c1
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ abstract class htmlElement {
/** validation rule to allow only numbers ([0-9]+) */
const VALIDATE_NUMERIC = 'numeric';
/** validation rule to allow positive/negative numbers ([-]?[0-9]+) */
const VALIDATE_NUMERIC_WITH_NEGATIVE = 'numericWithNegative';
/** alignment when inside a table */
public $alignment = null;