/** * wrapper function for creating a profile */ function recreate_profile($options) { $pro = new profile(); $pro->recreateProfile($options['profile']); }