return $o;
}
-
+/// @TODO after an optional parameter, no mandadory parameter can follow
+/// @TODO find proper type-hints
function contact_selector($selname, $selclass, $preselected = false, $options) {
$a = get_app();
}
if (x($options, 'networks')) {
- switch($options['networks']) {
+ switch ($options['networks']) {
case 'DFRN_ONLY':
$networks = array(NETWORK_DFRN);
break;
'$aclModalTitle' => t('Permissions'),
'$aclModalDismiss' => t('Close'),
'$features' => array(
- 'aclautomention' => (feature_enabled($user['uid'],"aclautomention")?"true":"false")
+ 'aclautomention' => (feature_enabled($user['uid'], "aclautomention") ? "true" : "false")
),
));