A
Подскажите, как в fenom объединить два массива? как array_merge()
{'!pdoPage' | snippet : $.php.array_merge([ ... ], [ ... ])}
Size: a a a
A
{'!pdoPage' | snippet : $.php.array_merge([ ... ], [ ... ])}
EG
АС
EG
EG
{'!pdoPage' | snippet : $.php.array_merge([ ... ], [ ... ])}
A
{set $mFilterData = $tplList + [
'noJsInitialize' => 0,
'filterOptions' =>'{"autoLoad":1}',
'parents' => $_modx->resource.id,
'paginator' => 'pdoPage@Product',
'element' => 'msProducts@ProductCategory',
'tplOuter' => '@FILE chunks/filter/mFilter2.category.outer.tpl',
'tplWrapper' => '@INLINE [[+output]]',
'tpl' => '@FILE chunks/products/product_cat.row.tpl',
'showHidden' => 0,
'depth' => 1,
'suggestions' => 1,
'suggestionsMaxFilters' => 5500,
'suggestionsMaxResults' => 8000,
'filters' => $filters,
'filtersLimit' => 12,
'aliases' => $aliases,
'where' => $where,
'sort' => ($sortBy | join),
'limit' => 24,
'showLog' => 0,
]}
EG
{set $arr1 = [1 ,2, 3, 4]}
{set $arr2 = [11 ,21, 31, 41]}
{set $arr3 = $arr1 + $arr2}
{$arr3 | print_r}
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 ) 1
EG
А
ОЩ
ОЩ
ОЩ
ОЩ
А
А
А
ОЩ
А
ОЩ
ОЩ