Skip to content

Commit

Permalink
Merge pull request #173 from froschdesign/hotfix/docs/links-redirects…
Browse files Browse the repository at this point in the history
…-options

Updates for wrong and missing links, redirects and outdated examples
  • Loading branch information
froschdesign committed Jun 16, 2022
2 parents bfc12a8 + 4a07a58 commit c1a8474
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 3 additions & 1 deletion docs/book/v3/element/csrf.md
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions docs/book/v3/file-upload.md
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions docs/book/v3/form-creation/attributes-or-annotations.md
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Expand Up @@ -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

0 comments on commit c1a8474

Please sign in to comment.