To create it, open a new file at $WASP_ROOT/app/lib/validator/PriceRangeCustomValidator.class.php, and fill it with the code in Listing 17.
要创建它,在 $WASP_ROOT/app/lib/validator/PriceRangeCustomValidator.class.php打开一个新文件,并使用清单17中的代码填充它。
Open the MySQLDatabaseSystemUnitValidator class and add a new class attribute for the validator identifier to your source code (see Listing 8).
打开mysqldatabasesystemunitvalidator类,并为确认器标识符向源代码添加一个新的类属性(见于代码清单8)。
Click the "... "button next to" WS-Policy validator "to open the Settings.
单击“WS - Policyvalidator ”旁边的“…”按钮打开Settings。
You can get a list of all attribute validators by clicking on an attribute validator in the source code, then open the type hierarchy explorer (F4) and select the DeployAttributeValidator class.
您可以点击源代码中的属性确认器,来得到所有属性确认器的列表,然后打开类型层级结构浏览器(F4)并选择deployattributevalidator类。
You can get a list of all attribute validators by clicking on an attribute validator in the source code, then open the type hierarchy explorer (F4) and select the DeployAttributeValidator class.
您可以点击源代码中的属性确认器,来得到所有属性确认器的列表,然后打开类型层级结构浏览器(F4)并选择deployattributevalidator类。
应用推荐