fenom/docs/en
2018-03-15 18:20:44 +03:00
..
dev Editorial changes for dev readme 2014-09-15 18:06:05 +01:00
ext
mods fix doc errors 2018-03-15 18:20:44 +03:00
tags Translated one sentence from Russian to English... 2016-07-05 20:10:23 +02:00
adapters.md Update adapters.md 2017-03-05 05:44:16 +03:00
articles.md
benchmark.md
callbacks.md
configuration.md non existent parameter 2018-03-15 17:02:10 +03:00
helpme.md
operators.md Docs++ 2016-04-13 11:34:38 +03:00
readme.md Docs++ 2016-04-12 12:28:57 +03:00
start.md
syntax.md Fix typo 2015-01-02 23:12:32 +03:00

Documentation

Fenom


Tags

Usage

Deprecated tags

  • for, forelse, break and continue — loop statement

Modifiers

Usage

  • upper aka up — convert to uppercase a string
  • lower aka low — convert to lowercase a string
  • date_format - format date, timestamp via strftime() function
  • date - format date, timestamp via date() function
  • truncate — truncate thee string to specified length
  • escape aka e — escape the string
  • unescape — unescape the string
  • strip — remove extra whitespaces
  • length — calculate length of string, array, object
  • in — find value in string or array
  • match — match string against a pattern.
  • ematch — perform a regular expression match.
  • replace — replace all occurrences of the search string with the replacement string.
  • ereplace — perform a regular expression search and replace.
  • split — split a string by string.
  • esplit — split string by a regular expression.
  • join — join array elements with a string.
  • allowed functions: json_encode, json_decode, count, is_string, is_array, is_numeric, is_int, is_object, strtotime, gettype, is_double, ip2long, long2ip, strip_tags, nl2br
  • or add yours

Operators


Extends