28 $value =
new static();
30 $allowedFeatures = array_keys(CSocNetAllowed::getAllowedFeatures());
31 $inactiveFeaturesList = [
'forum',
'photo',
'search',
'group_lists',
'wiki'];
33 foreach ($allowedFeatures as $featureName)
35 $value->features[$featureName] = !in_array($featureName, $inactiveFeaturesList,
true);