swark: template operators and workflow events that are missing
This page is for template authors and site builders. swark adds many template operators and two workflow events
that are needed often but are missing in the kernel. It comes from Seeds Consulting AS (2008) and Brookins
Consulting.
Operators
add_view_parameters, array_search, arsort, asort, charset, clear_object_cache, cookie,
current_layout, current_siteaccess, debug, debug_attributes, is_post_request, json_encode, krsort,
ksort, ltrim, modify_view_parameter, preg_match, preg_replace, range, redirect,
remove_array_element, return, rsort, rtrim, serialize, server, set_array_element, shortenw,
shuffle, sort, split_by_length, str_replace, strpos, strrpos and more.
Each operator has a page in the extension's doc/operators folder.
Workflow events
| Event | What it does | Setting |
|---|---|---|
| AutoPriority | When an object is published, gives it a priority one step above its siblings. | swark.ini [AutoPriority] PriorityIncrement=10 |
| DeferToCron | Defers a workflow to the cronjob. | none |
What changed in the Exponential 6 releases
| Version | Date | Change |
|---|---|---|
| 1.0.2 | 7 January 2024 | composer.json. |
| 1.0.3 | 27 September 2026 | ezinfo.php has a static info() and states the version, license and website; the documentation writes its line break as <br>. |
| 1.0.4 | 30 September 2026 | The description names Exponential. |
Related pages
- owsimpleoperator
- String template operators
- CLI, cronjob and view abstractions
- Extension metadata specification
- Chronicle and release notes
- Change ledger
- Behaviour changes of the extensions
- Month: 2026-09 (all extensions)
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.