plugin/owc-gravityforms-zaaksysteem
Composer 安装命令:
composer require plugin/owc-gravityforms-zaaksysteem
包简介
Combine one or more 'zaaksystemen' with Gravity Forms and WordPress
README 文档
README
Combines one or multiple 'zaaksystemen' with Gravity Forms and WordPress.
Templating
This repository adds a custom WordPress template called OpenZaak which:
- Contains the permission logic for accessing the OpenZaak views
- Applies styling to the view and its blocks
Routing
At the time of writing, two custom routes have been added. These routes enable the following functionalities: displaying a single 'zaak' and downloading information objects attached to a 'zaak.'
Single Zaak routing
The entity OWC\Zaaksysteem\Entities\Zaak includes a method called 'permalink', which is utilized in various custom Gutenberg blocks. These blocks primarily serve to provide logged-in users with an overview of the 'zaken.' The method 'permalink' returns an URL that is picked up by the added custom routing. (<www.domain.extension/zaak/{identification}/{supplier}>)
This route requires the following conditions:
- A page with 'zaak' as the slug.
- The page should be connected with the 'template-single-zaak.'
- The page should be requested with a 'zaak' identification and a supplier in the URI.
Downloading Zaak information objects routing
The entity OWC\Zaaksysteem\Entities\Enkelvoudiginformatieobject includes a method called 'downloadUrl'. The method 'downloadUrl' returns an URL that is picked up by the added custom routing. (<www.domain.extension/zaak-download/{download-identification}/{zaak-identification}/{supplier}>)
This route requires the following conditions:
- A page with the slug 'zaak-download.' In this case, there is no need for a connected template since there is no page to be opened. The download will initiate in a new tab but will close immediately after the download is completed.
- The page should be requested with an download identification, zaak identification and supplier in the URI.
Hooks
Set de lifetime of the form settings transient
A nightly cron job retrieves the form settings per supplier and stores them inside a transient.
You can adjust the lifetime (in seconds) of that transient using the filter below:
add_filter('owc_gravityforms_zaaksysteem_zaaktypen_form_settings_type_cache_ttl', function(int $ttl){ return 3600; // 1 hour })
Filter the GravityForms addon setting fields
Modify or extend the available settings fields in the Gravity Forms add-on by filtering the multi-dimensional settings array:
add_filter('owc_gravityforms_zaaksysteem_gf_settings', function(array $fields){ return $fields; });
Configure templates that should be validated for access
Templates listed in this filter will be validated via the template_include hook to ensure the current session contains a valid BSN or KVK identifier.
add_filter('owc_gravityforms_zaaksysteem_templates_to_validate', function(array $templates){ $templates[] = 'custom-template'; return $templates; });
plugin/owc-gravityforms-zaaksysteem 适用场景与选型建议
plugin/owc-gravityforms-zaaksysteem 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 03 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 plugin/owc-gravityforms-zaaksysteem 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 plugin/owc-gravityforms-zaaksysteem 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-03-20