diff options
Diffstat (limited to 'framework/Web/UI/WebControls/TValidatorDisplayStyle.php')
-rw-r--r-- | framework/Web/UI/WebControls/TValidatorDisplayStyle.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TValidatorDisplayStyle.php b/framework/Web/UI/WebControls/TValidatorDisplayStyle.php new file mode 100644 index 00000000..8e3ca8b5 --- /dev/null +++ b/framework/Web/UI/WebControls/TValidatorDisplayStyle.php @@ -0,0 +1,32 @@ +<?php +/** + * TBaseValidator class file + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2014 PradoSoft + * @license http://www.pradosoft.com/license/ + * @package System.Web.UI.WebControls + */ + + +/** + * TValidatorDisplayStyle class. + * TValidatorDisplayStyle defines the enumerable type for the possible styles + * that a validator control can display the error message. + * + * The following enumerable values are defined: + * - None: the error message is not displayed + * - Dynamic: the error message dynamically appears when the validator fails validation + * - Fixed: Similar to Dynamic except that the error message physically occupies the page layout (even though it may not be visible) + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @package System.Web.UI.WebControls + * @since 3.0.4 + */ +class TValidatorDisplayStyle extends TEnumerable +{ + const None='None'; + const Dynamic='Dynamic'; + const Fixed='Fixed'; +}
\ No newline at end of file |