dFunctionInterface - interface for dynamic functions, contains prototypes:
- public function __construct()
- public function run($args), responsible for converting dynamic texts, parameter $args is an array containing a name of individual function (INSERTANS, IF, etc.) and parameters suitable for that function

dTexts - a class responsible for tag conversion (such as INSERTANS, IF), defines methodes:
- public static function run($text),  takes a tag in brace brackets {TAG:...} and returns a text corresponding to it
- public static function loadFunction($name), returns an object of a class converting tags (such as IF, INSERTANS, etc.)

dFunctionIf - a class converting tag IF, implements dFunctionInterface
syntax:
{IF:question_id:answer:value_for_true:value_for_false}
example:
If a question '55149X144X1010' is a question about sex, we can use it as follows:
"What do you think about other {IF:55149X144X1010:M:males:females} working in our company?".
As a result, tag {IF...} would be replaced with "males" or "famels".

dFunctionIfCount - a class converting tag IFCOUNT, implements dFunctionInterface
syntax:
{IFCOUNT:question_id:min_checked_answers:max_checked_answers:value_for_true:value_for_false}

dFunctionIfIn - a class converting tag IFIN, implements dFunctionInterface
syntax:
{IFIN:question_id:value_for_true:value1:value2:valueN}
IF answer to question question_id matches valueX, the tag is replaced with value_for_true.

dFunctionInsertAns - a class converting tag INSERTANS, implements dFunctionInterface
syntax:
{INSERTANS:question_id}
Inserts an answer to question question_id.

dFunctionSwitch - a class converting tag SWITCH, implements dFunctionInterface
syntax:
{SWITCH:question_id:case1:value1:case2:value2, caseN, valueN}
If an answer to question_id matches any caseX, then tag is replaced with valueX. If the answer matches no caseX, then empty string ("") is returned;

dFunctionToken - a class converting tokens
syntax:
{TOKEN:FIRSTNAME/LASTNAME/EMAIL}