summaryrefslogtreecommitdiff
path: root/docs/designers/language-custom-functions
diff options
context:
space:
mode:
Diffstat (limited to 'docs/designers/language-custom-functions')
-rw-r--r--docs/designers/language-custom-functions/language-function-html-options.md2
-rw-r--r--docs/designers/language-custom-functions/language-function-html-select-date.md2
-rw-r--r--docs/designers/language-custom-functions/language-function-html-select-time.md4
-rw-r--r--docs/designers/language-custom-functions/language-function-math.md4
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/designers/language-custom-functions/language-function-html-options.md b/docs/designers/language-custom-functions/language-function-html-options.md
index b7c04e94..9c9a00a1 100644
--- a/docs/designers/language-custom-functions/language-function-html-options.md
+++ b/docs/designers/language-custom-functions/language-function-html-options.md
@@ -74,7 +74,7 @@ Output of the above example would be:
The above arrays would be output with the following template (note the
-use of the php [`count()`](&url.php-manual;function.count) function as a
+use of the php [`count()`](https://www.php.net/function.count) function as a
modifier to set the select size).
diff --git a/docs/designers/language-custom-functions/language-function-html-select-date.md b/docs/designers/language-custom-functions/language-function-html-select-date.md
index b46eb041..80c7fdfb 100644
--- a/docs/designers/language-custom-functions/language-function-html-select-date.md
+++ b/docs/designers/language-custom-functions/language-function-html-select-date.md
@@ -9,7 +9,7 @@ name/value-pairs inside the `<select>` tags of day, month and year.
Attribute Name Type Required Default Description
---------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------- ---------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
prefix string No Date\_ What to prefix the var name with
- time [timestamp](&url.php-manual;function.time), [DateTime](&url.php-manual;class.DateTime), mysql timestamp or any string parsable by [`strtotime()`](&url.php-manual;strtotime), arrays as produced by this function if field\_array is set. No current [timestamp](&url.php-manual;function.time) What date/time to pre-select. If an array is given, the attributes field\_array and prefix are used to identify the array elements to extract year, month and day from. Omitting this parameter or supplying a falsy value will select the current date. To prevent date selection, pass in NULL
+ time [timestamp](https://www.php.net/function.time), [DateTime](https://www.php.net/class.DateTime), mysql timestamp or any string parsable by [`strtotime()`](https://www.php.net/strtotime), arrays as produced by this function if field\_array is set. No current [timestamp](https://www.php.net/function.time) What date/time to pre-select. If an array is given, the attributes field\_array and prefix are used to identify the array elements to extract year, month and day from. Omitting this parameter or supplying a falsy value will select the current date. To prevent date selection, pass in NULL
start\_year string No current year The first year in the dropdown, either year number, or relative to current year (+/- N)
end\_year string No same as start\_year The last year in the dropdown, either year number, or relative to current year (+/- N)
display\_days boolean No TRUE Whether to display days or not
diff --git a/docs/designers/language-custom-functions/language-function-html-select-time.md b/docs/designers/language-custom-functions/language-function-html-select-time.md
index 6ccc5990..d18d2531 100644
--- a/docs/designers/language-custom-functions/language-function-html-select-time.md
+++ b/docs/designers/language-custom-functions/language-function-html-select-time.md
@@ -7,12 +7,12 @@ minute, second and meridian.
The `time` attribute can have different formats. It can be a unique
timestamp, a string of the format `YYYYMMDDHHMMSS` or a string that is
-parseable by PHP\'s [`strtotime()`](&url.php-manual;strtotime).
+parseable by PHP\'s [`strtotime()`](https://www.php.net/strtotime).
Attribute Name Type Required Default Description
----------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------- ---------------------------------------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
prefix string No Time\_ What to prefix the var name with
- time [timestamp](&url.php-manual;function.time), [DateTime](&url.php-manual;class.DateTime), mysql timestamp or any string parsable by [`strtotime()`](&url.php-manual;strtotime), arrays as produced by this function if field\_array is set. No current [timestamp](&url.php-manual;function.time) What date/time to pre-select. If an array is given, the attributes field\_array and prefix are used to identify the array elements to extract hour, minute, second and meridian from.
+ time [timestamp](https://www.php.net/function.time), [DateTime](https://www.php.net/class.DateTime), mysql timestamp or any string parsable by [`strtotime()`](https://www.php.net/strtotime), arrays as produced by this function if field\_array is set. No current [timestamp](https://www.php.net/function.time) What date/time to pre-select. If an array is given, the attributes field\_array and prefix are used to identify the array elements to extract hour, minute, second and meridian from.
display\_hours boolean No TRUE Whether or not to display hours
display\_minutes boolean No TRUE Whether or not to display minutes
display\_seconds boolean No TRUE Whether or not to display seconds
diff --git a/docs/designers/language-custom-functions/language-function-math.md b/docs/designers/language-custom-functions/language-function-math.md
index 9adfd1c5..8a279620 100644
--- a/docs/designers/language-custom-functions/language-function-math.md
+++ b/docs/designers/language-custom-functions/language-function-math.md
@@ -13,7 +13,7 @@ template.
- +, -, /, \*, abs, ceil, cos, exp, floor, log, log10, max, min, pi,
pow, rand, round, sin, sqrt, srans and tan are all valid operators.
Check the PHP documentation for further information on these
- [math](&url.php-manual;eval) functions.
+ [math](https://www.php.net/eval) functions.
- If you supply the `assign` attribute, the output of the `{math}`
function will be assigned to this template variable instead of being
@@ -22,7 +22,7 @@ template.
> **Note**
>
> `{math}` is an expensive function in performance due to its use of the
-> php [`eval()`](&url.php-manual;eval) function. Doing the math in PHP
+> php [`eval()`](https://www.php.net/eval) function. Doing the math in PHP
> is much more efficient, so whenever possible do the math calculations
> in the script and [`assign()`](#api.assign) the results to the
> template. Definitely avoid repetitive `{math}` function calls, eg