File tree Expand file tree Collapse file tree 9 files changed +16
-34
lines changed Expand file tree Collapse file tree 9 files changed +16
-34
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,5 @@ strict
279
279
**type **: ``Boolean `` **default **: ``false ``
280
280
281
281
If true, the validator will also check the type of the input value. Specifically,
282
- this value is passed to as the third argument to the PHP `in_array `_ method
283
- when checking to see if a value is in the valid choices array.
284
-
285
- .. _`in_array` : http://php.net/manual/en/function.in-array.php
282
+ this value is passed to as the third argument to the PHP :phpfunction: `in_array ` method
283
+ when checking to see if a value is in the valid choices array.
Original file line number Diff line number Diff line change @@ -69,6 +69,4 @@ invalidMessage
69
69
**type **: ``string `` **default **: ``This value should be a valid number ``
70
70
71
71
The message that will be shown if the underlying value is not a number (per
72
- the `is_numeric `_ PHP function).
73
-
74
- .. _`is_numeric` : http://www.php.net/manual/en/function.is-numeric.php
72
+ the :phpfunction: `is_numeric ` PHP function).
Original file line number Diff line number Diff line change @@ -76,8 +76,6 @@ charset
76
76
77
77
**type **: ``charset `` **default **: ``UTF-8 ``
78
78
79
- If the PHP extension "mbstring" is installed, then the PHP function `mb_strlen `_
79
+ If the PHP extension "mbstring" is installed, then the PHP function :phpfunction: `mb_strlen `
80
80
will be used to calculate the length of the string. The value of the ``charset ``
81
- option is passed as the second argument to that function.
82
-
83
- .. _`mb_strlen` : http://php.net/manual/en/function.mb-strlen.php
81
+ option is passed as the second argument to that function.
Original file line number Diff line number Diff line change @@ -69,6 +69,4 @@ invalidMessage
69
69
**type **: ``string `` **default **: ``This value should be a valid number ``
70
70
71
71
The message that will be shown if the underlying value is not a number (per
72
- the `is_numeric `_ PHP function).
73
-
74
- .. _`is_numeric` : http://www.php.net/manual/en/function.is-numeric.php
72
+ the :phpfunction: `is_numeric ` PHP function).
Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ charset
80
80
81
81
**type **: ``charset `` **default **: ``UTF-8 ``
82
82
83
- If the PHP extension "mbstring" is installed, then the PHP function `mb_strlen `_
83
+ If the PHP extension "mbstring" is installed, then the PHP function :phpfunction: `mb_strlen `
84
84
will be used to calculate the length of the string. The value of the ``charset ``
85
- option is passed as the second argument to that function.
86
-
87
- .. _`mb_strlen` : http://php.net/manual/en/function.mb-strlen.php
85
+ option is passed as the second argument to that function.
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ pattern
95
95
96
96
This required option is the regular expression pattern that the input will
97
97
be matched against. By default, this validator will fail if the input string
98
- does *not * match this regular expression (via the `preg_match `_ PHP function).
98
+ does *not * match this regular expression (via the :phpfunction: `preg_match ` PHP function).
99
99
However, if `match `_ is set to false, then validation will fail if the input
100
100
string *does * match this pattern.
101
101
@@ -114,6 +114,4 @@ message
114
114
115
115
**type **: ``string `` **default **: ``This value is not valid ``
116
116
117
- This is the message that will be shown if this validator fails.
118
-
119
- .. _`preg_match` : http://php.net/manual/en/function.preg-match.php
117
+ This is the message that will be shown if this validator fails.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ The "value" for each country is the two-letter country code.
12
12
13
13
.. note ::
14
14
15
- The locale of your user is guessed using `Locale::getDefault() `_
15
+ The locale of your user is guessed using :phpmethod: `Locale::getDefault() `
16
16
17
17
Unlike the ``choice `` type, you don't need to specify a ``choices `` or
18
18
``choice_list `` option as the field type automatically uses all of the countries
@@ -57,6 +57,4 @@ These options inherit from the :doc:`field</reference/forms/types/field>` type:
57
57
58
58
.. include :: /reference/forms/types/options/label.rst.inc
59
59
60
- .. include :: /reference/forms/types/options/read_only.rst.inc
61
-
62
- .. _`Locale::getDefault()` : http://php.net/manual/en/locale.getdefault.php
60
+ .. include :: /reference/forms/types/options/read_only.rst.inc
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ The "value" for each language is the *Unicode language identifier*
13
13
14
14
.. note ::
15
15
16
- The locale of your user is guessed using `Locale::getDefault() `_
16
+ The locale of your user is guessed using :phpmethod: `Locale::getDefault() `
17
17
18
18
Unlike the ``choice `` type, you don't need to specify a ``choices `` or
19
19
``choice_list `` option as the field type automatically uses a large list
@@ -58,6 +58,4 @@ These options inherit from the :doc:`field</reference/forms/types/field>` type:
58
58
59
59
.. include :: /reference/forms/types/options/label.rst.inc
60
60
61
- .. include :: /reference/forms/types/options/read_only.rst.inc
62
-
63
- .. _`Locale::getDefault()` : http://php.net/manual/en/locale.getdefault.php
61
+ .. include :: /reference/forms/types/options/read_only.rst.inc
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ the ISO3166 *country* code (e.g. ``fr_FR`` for French/France).
14
14
15
15
.. note ::
16
16
17
- The locale of your user is guessed using `Locale::getDefault() `_
17
+ The locale of your user is guessed using :phpmethod: `Locale::getDefault() `
18
18
19
19
Unlike the ``choice `` type, you don't need to specify a ``choices `` or
20
20
``choice_list `` option as the field type automatically uses a large list
@@ -59,6 +59,4 @@ These options inherit from the :doc:`field</reference/forms/types/field>` type:
59
59
60
60
.. include :: /reference/forms/types/options/label.rst.inc
61
61
62
- .. include :: /reference/forms/types/options/read_only.rst.inc
63
-
64
- .. _`Locale::getDefault()` : http://php.net/manual/en/locale.getdefault.php
62
+ .. include :: /reference/forms/types/options/read_only.rst.inc
You can’t perform that action at this time.
0 commit comments