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