diff options
| author | Simon Wisselink <s.wisselink@iwink.nl> | 2023-02-03 22:31:59 +0100 |
|---|---|---|
| committer | Simon Wisselink <s.wisselink@iwink.nl> | 2023-02-03 22:31:59 +0100 |
| commit | 51ed0d6791cfedbdf2492603d226618133154d70 (patch) | |
| tree | ff1aa263c5b1ea7614cf910c5232a049b145a272 /docs/designers/language-variables | |
| parent | c94d3ddafa8e41e73f127af1959b4715db021d1e (diff) | |
| download | smarty-51ed0d6791cfedbdf2492603d226618133154d70.tar.gz smarty-51ed0d6791cfedbdf2492603d226618133154d70.tar.bz2 smarty-51ed0d6791cfedbdf2492603d226618133154d70.zip | |
fixes to docs
Diffstat (limited to 'docs/designers/language-variables')
| -rw-r--r-- | docs/designers/language-variables/language-variables-smarty.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/designers/language-variables/language-variables-smarty.md b/docs/designers/language-variables/language-variables-smarty.md index e2949e0e..2d20b239 100644 --- a/docs/designers/language-variables/language-variables-smarty.md +++ b/docs/designers/language-variables/language-variables-smarty.md @@ -7,7 +7,7 @@ environment and request variables. The full list of them follows. Request variables {#language.variables.smarty.request} ----------------- -The [request variables](&url.php-manual;reserved.variables) such as +The [request variables](https://www.php.net/reserved.variables) such as `$_GET`, `$_POST`, `$_COOKIE`, `$_SERVER`, `$_ENV` and `$_SESSION` can be accessed as demonstrated in the examples below: @@ -54,11 +54,11 @@ be accessed as demonstrated in the examples below: {\$smarty.now} {#language.variables.smarty.now} -------------- -The current [timestamp](&url.php-manual;function.time) can be accessed +The current [timestamp](https://www.php.net/function.time) can be accessed with `{$smarty.now}`. The value reflects the number of seconds passed since the so-called Epoch on January 1, 1970, and can be passed directly to the [`date_format`](#language.modifier.date.format) modifier for -display. Note that [`time()`](&url.php-manual;function.time) is called +display. Note that [`time()`](https://www.php.net/function.time) is called on each invocation; eg a script that takes three seconds to execute with a call to `$smarty.now` at start and end will show the three second difference. |
