Zend_Validate-Set.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.validate.set" xmlns:xi="http://www.w3.org/2001/XInclude">
  4. <title>Standard Validation Classes</title>
  5. <para>
  6. Zend Framework comes with a standard set of validation classes, which are ready for you to
  7. use.
  8. </para>
  9. <xi:include href="Zend_Validate-Alnum.xml" />
  10. <xi:include href="Zend_Validate-Alpha.xml" />
  11. <xi:include href="Zend_Validate-Barcode.xml" />
  12. <xi:include href="Zend_Validate-Between.xml" />
  13. <xi:include href="Zend_Validate-Callback.xml" />
  14. <xi:include href="Zend_Validate-CreditCard.xml" />
  15. <sect2 id="zend.validate.set.ccnum">
  16. <title>Ccnum</title>
  17. <note>
  18. <para>
  19. The <classname>Ccnum</classname> validator has been deprecated in favor of the
  20. <classname>CreditCard</classname> validator. For security reasons you should use
  21. CreditCard instead of Ccnum.
  22. </para>
  23. </note>
  24. </sect2>
  25. <sect2 id="zend.validate.set.date">
  26. <title>Date</title>
  27. <para>
  28. Returns <constant>TRUE</constant> if <varname>$value</varname> is a valid date of the
  29. format 'YYYY-MM-DD'. If the optional <property>locale</property> option is set then the
  30. date will be validated according to the set locale. And if the optional
  31. <property>format</property> option is set this format is used for the validation. for
  32. details about the optional parameters see <link
  33. linkend="zend.date.others.comparison.table">Zend_Date::isDate()</link>.
  34. </para>
  35. </sect2>
  36. <xi:include href="Zend_Validate-Db.xml" />
  37. <xi:include href="Zend_Validate-Digits.xml" />
  38. <xi:include href="Zend_Validate-EmailAddress.xml" />
  39. <sect2 id="zend.validate.set.float">
  40. <title>Float</title>
  41. <para>
  42. Returns <constant>TRUE</constant> if and only if <varname>$value</varname> is a
  43. floating-point value. Since Zend Framework 1.8 this validator takes into account the
  44. actual locale from browser, environment or application wide set locale. You can of
  45. course use the get/setLocale accessors to change the used locale or give it while
  46. creating a instance of this validator.
  47. </para>
  48. </sect2>
  49. <xi:include href="Zend_Validate-GreaterThan.xml" />
  50. <xi:include href="Zend_Validate-Hex.xml" />
  51. <xi:include href="Zend_Validate-Hostname.xml" />
  52. <xi:include href="Zend_Validate-Iban.xml" />
  53. <xi:include href="Zend_Validate-Identical.xml" />
  54. <xi:include href="Zend_Validate-InArray.xml" />
  55. <xi:include href="Zend_Validate-Int.xml" />
  56. <xi:include href="Zend_Validate-Ip.xml" />
  57. <xi:include href="Zend_Validate-Isbn.xml" />
  58. <xi:include href="Zend_Validate-LessThan.xml" />
  59. <xi:include href="Zend_Validate-NotEmpty.xml" />
  60. <xi:include href="Zend_Validate-PostCode.xml" />
  61. <xi:include href="Zend_Validate-Regex.xml" />
  62. <xi:include href="Zend_Validate-Sitemap.xml" />
  63. <xi:include href="Zend_Validate-StringLength.xml" />
  64. </sect1>
  65. <!--
  66. vim:se ts=4 sw=4 et:
  67. -->