function hosting_ssl_get_profiles in Hosting 6.2
Same name and namespace in other branches
- 7.4 web_server/ssl/hosting_ssl.module \hosting_ssl_get_profiles()
- 7.3 web_server/ssl/hosting_ssl.module \hosting_ssl_get_profiles()
Return a list of profiles with SSL enabled platforms.
2 calls to hosting_ssl_get_profiles()
- hook_hosting_site_options_alter in site/
hosting_site.api.php - hosting_ssl_hosting_site_options_alter in web_server/
ssl/ hosting_ssl.nodeapi.inc
File
- web_server/
ssl/ hosting_ssl.module, line 69
Code
function hosting_ssl_get_profiles() {
$platforms = hosting_ssl_get_platforms();
$ssl_profiles = array();
foreach ($platforms as $nid) {
$platform = node_load($nid);
$ssl_profiles = array_merge($ssl_profiles, array_keys($platform->profiles));
}
return array_unique($ssl_profiles);
}