if (isset($data['__category_external'
])) { $category->
setExternalLink($data['__category_external'
]);
} if (isset($data['__category_external_target'
])) { $category->
setExternalTarget($data['__category_external_target'
]);
} if (isset($data['__category_hidefilter'
])) { $category->
setDisplayFacets((bool) !
$data['__category_hidefilter'
]);
} if (isset($data['__category_hidetop'
])) { $category->
setDisplayInNavigation((bool) !
$data['__category_hidetop'
]);
} if (isset($data['__category_customer_groups'
])) { $categoryCustomerGroups =
array_map('\intval',
explode(',',
$data['__category_customer_groups'
]));
$category->
setBlockedCustomerGroupIds($categoryCustomerGroups);
}