-
Получаю такую ошибку:
Fatal error: Uncaught exception 'Fenom\Error\TokenizeException' with message 'Unexpected token $, isset() and empty() accept only variables' in .../vendor/fenom/Fenom/Template.p…
-
```
{set $x = 3}
{set $a = [1, 2, 3, 5 42]}
{set $b = [5, 8, 13, 42]}
{if $x|in:$a}
true
{/if}
{if $x|in:$b}
true
{/if}
```
В обоих случаях будет выведено true
array_key_exists …
-
Будет поддержка PHP7? Или может кто-то форк сделал?
-
В доках описания не нашел.
Есть запрос:
```
```
Получается в шаблон я передаю такой массив:
![image](https://cloud.githubusercontent.com/assets/9604811/22634377/c8e10202-ec31-11e6-9938-f235e…
-
Как можно использовать clientScript для подключения стилей и скриптов?
Object of class EClientScript could not be converted to string.
-
Какой шаблонизатор лучше: fenom, smarty или twig?
aolko updated
7 years ago
-
Приветствую.
Создал собственный тэг через addFunction. Вызываю в коде {render_block 'rseo_text'}. Все параметры получаю, вызываю класс, который по этим параметрам что-то делает и возвращает массив.…
-
Задача: перебрать массив, полученный из функции.
-
Что я делаю не так?
```
{ignore}
'use strict';var selector=function selector(a){return document.querySelector(a)},showIt=function showIt(a,b,c){setTimeout(function(){a.classList.add('animated'),a…
-
Доброго времени суток. Поймал очень странный баг.
2 шаблона(цель: вывести дерево любой вложенности)
1ый Шалон (Переменная $list =>array('id' => 1 , 'name' => 'test', 'child' => array( и т.д.)))
```
…