Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for wrong and missing links, redirects and outdated examples #173

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/book/v3/element/csrf.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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/).
froschdesign marked this conversation as resolved.
Show resolved Hide resolved

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
Original file line number Diff line number Diff line change
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