swark
Summary
Exponential extension which provides template operators to generate complex template logic simply. Provides many template operators and a couple of workflow events which are needed very often, yet missing in Exponential. Great for smart developers!
Properties
| Property | Value |
|---|---|
| Directory | extension/swark |
| Name | Swark for Exponential |
| Version | 1.0.5 |
| License | GNU General Public License v2.0 (or any later version) |
| Website | https://github.com/se7enxweb/swark |
Template operators
| Operator | Named parameters | Class |
|---|---|---|
| add_view_parameters | view_parameters | SwarkAddViewParametersOperator |
| array_search | search, not_found_key (optional) | SwarkArraySearchOperator |
| arsort | - | SwarkARSortOperator |
| asort | - | SwarkASortOperator |
| charset | - | SwarkCharsetOperator |
| clear_object_cache | - | SwarkClearObjectCacheOperator |
| cookie | name | SwarkCookieOperator |
| current_layout | - | SwarkCurrentLayoutOperator |
| current_siteaccess | - | SwarkCurrentSiteaccessOperator |
| debug | header (optional) | SwarkDebugOperator |
| debug_attributes | header (optional), depth (optional) | SwarkDebugAttributesOperator |
| is_post_request | - | SwarkIsPostRequestOperator |
| json_encode | value | SwarkJSONEncodeOperator |
| krsort | - | SwarkKRSortOperator |
| ksort | - | SwarkKSortOperator |
| ltrim | charlist (optional) | SwarkLTrimOperator |
| modify_view_parameter | parameter, value | SwarkModifyViewParameterOperator |
| preg_match | pattern | SwarkPregMatchOperator |
| preg_replace | search, replace | SwarkPregReplaceOperator |
| range | min, max, step (optional) | SwarkRangeOperator |
| redirect | url, status (optional) | SwarkRedirectOperator |
| remove_array_element | key | SwarkRemoveArrayElementOperator |
| return | content_type (optional) | SwarkReturnOperator |
| rsort | - | SwarkRSortOperator |
| rtrim | charlist (optional) | SwarkRTrimOperator |
| server | variable_name | SwarkServerOperator |
| set_array_element | key, value | SwarkSetArrayElementOperator |
| shortenw | length, ellipsis (optional) | SwarkShortenWOperator |
| shuffle | - | SwarkShuffleOperator |
| sort | - | SwarkSortOperator |
| split_by_length | length (optional) | SwarkSplitByLengthOperator |
| str_replace | search, replace | SwarkStrReplaceOperator |
| strpos | needle, offset (optional) | SwarkStrPosOperator |
| strrpos | needle | SwarkStrRPosOperator |
| substr | start, length (optional) | SwarkSubStrOperator |
| uri_path_segment | index (optional) | SwarkURIPathSegmentOperator |
| user_id_by_login | login | SwarkUserIDByLoginOperator |
| variable_names | in_debug (optional) | SwarkVariableNamesOperator |
Settings files
| File | Groups |
|---|---|
| extension/swark/settings/design.ini.append.php | [ExtensionSettings] |
| extension/swark/settings/site.ini.append.php | [TemplateSettings] |
| extension/swark/settings/swark.ini.append.php | [AutoPriority] |
| extension/swark/settings/template.ini.append.php | [PHP] |
| extension/swark/settings/workflow.ini.append.php | [EventSettings] |
Source
extension/swark (extension.xml, ezinfo.php, modules/*/module.php, modules/*/function_definition.php, autoloads/eztemplateautoload.php, datatypes/, eventtypes/, settings/)
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment