From 07bac0bf75aa598e63f68949eabbd621c552466a Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Mon, 2 Jul 2012 22:19:28 +0200 Subject: set:array_filter added --- docu/language_definition.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docu/language_definition.html') diff --git a/docu/language_definition.html b/docu/language_definition.html index 4cf4aaf..e311907 100644 --- a/docu/language_definition.html +++ b/docu/language_definition.html @@ -517,5 +517,13 @@

ste:array_add

Adding an element to an array. The array parameter takes the variable name of the array. The key parameter takes the array key to map the value to, if omitted, the value will be appended to the end of the array. The value is the tag's content.

+

ste:array_filter

+

Filter out array elements by multiple criterias.

+

All the parameters are names of array variables.

+

array – The array to filter.

+

keep_by_keys – Keep elements with the keys in this array.

+

keep_by_values – Keep elements with the values in this array.

+

delete_by_keys – Delete elements with the keys in this array.

+

delete_by_values – Delete elements with the values in this array.

-- cgit v1.2.3-70-g09d2