From f57a7a41e7fc9d2347746af57065841aa757def6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Wed, 15 Jun 2022 08:58:05 +0200 Subject: [PATCH 1/4] Updates wrong links in form creation chapter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- docs/book/v3/form-creation/attributes-or-annotations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/book/v3/form-creation/attributes-or-annotations.md b/docs/book/v3/form-creation/attributes-or-annotations.md index 1f5c08c5b..533ed96f2 100644 --- a/docs/book/v3/form-creation/attributes-or-annotations.md +++ b/docs/book/v3/form-creation/attributes-or-annotations.md @@ -257,7 +257,7 @@ optionally further `options` to pass to the constructor of the filter. as JSON. Additionally, you can use the `priority` argument to modify the order -of the filters in the [filter chain](../../laminas-filter/filter-chains/). +of the filters in the [filter chain](https://docs.laminas.dev/laminas-filter/filter-chains/). This annotation may be specified multiple times. @@ -453,7 +453,7 @@ optionally further `options` to pass to the constructor of the validator. as JSON. Additionally, you can use the `breakChainOnFailure` and the `priority` -argument to modify the [filter chain](../../laminas-validator/validator-chains/). +argument to modify the [validator chain](https://docs.laminas.dev/laminas-validator/validator-chains/). This annotation may be specified multiple times. From 613fb6c2eae52528d6c9d5f9a52bad7f7936ed48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Wed, 15 Jun 2022 08:58:46 +0200 Subject: [PATCH 2/4] Removes outdated community example from file upload section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- docs/book/v3/file-upload.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/book/v3/file-upload.md b/docs/book/v3/file-upload.md index 96debf35a..5a9605912 100644 --- a/docs/book/v3/file-upload.md +++ b/docs/book/v3/file-upload.md @@ -738,8 +738,3 @@ Related documentation: - [Laminas\InputFilter\FileInput](https://docs.laminas.dev/laminas-inputfilter/file-input/) - [Upload Progress Handlers](https://docs.laminas.dev/laminas-progressbar/upload/) - [Upload Progress View Helpers](helper/upload-progress-helpers.md) - -External resources and blog posts from the community: - -- [LaminasFileUploadExamples](https://github.com/cgmartin/LaminasFileUploadExamples) : A - Laminas module with several file upload examples. From 62dadd027a3614ee265699f42168a04203b86f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Wed, 15 Jun 2022 08:59:04 +0200 Subject: [PATCH 3/4] Adds missing redirect for application integration tutorial MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index 301df5155..f6b92ab1c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -270,3 +270,4 @@ plugins: helper/form-file-session-progress.md: v3/helper/form-file-session-progress.md helper/form-file-upload-progress.md: v3/helper/form-file-upload-progress.md advanced.md: v3/advanced.md + application-integration/usage-in-a-laminas-mvc-application.md: v3/application-integration/usage-in-a-laminas-mvc-application.md From 4a07a584847b94988473af812e51173ba76b494c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Wed, 15 Jun 2022 09:23:24 +0200 Subject: [PATCH 4/4] Updates the CSRF element documentation with the available options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- docs/book/v3/element/csrf.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/book/v3/element/csrf.md b/docs/book/v3/element/csrf.md index 6f5e4be11..502b1835b 100644 --- a/docs/book/v3/element/csrf.md +++ b/docs/book/v3/element/csrf.md @@ -34,12 +34,14 @@ $form->add([ 'name' => 'csrf', 'options' => [ 'csrf_options' => [ - 'timeout' => 600, + 'timeout' => 600, // optional ], ], ]); ``` +All available options for the validator are listed in the [laminas-validator documentation](https://docs.laminas.dev/laminas-validator/validators/csrf/#supported-options). + > ### Multiple CSRF elements must be uniquely named > > If you are using more than one form on a page, and each contains its own CSRF