function options()
 {
     plugin_push_current('CustomerManagement');
     if (access_has_global_level(plugin_config_get('view_customer_fields_threshold'))) {
         $options = array();
         foreach (CustomerManagementDao::findAllGroups() as $group) {
             $options[$group['id']] = $group['name'];
         }
     }
     plugin_pop_current();
     return $options;
 }
	<input type="hidden" name="id" />
	<br />
	<label for="name"><?php 
echo plugin_lang_get('name');
?>
</label> <input type="text" name="name"/> <br />
	<label for="name"><?php 
echo plugin_lang_get('email');
?>
</label> <input type="text" name="email"/> <br />
	<label for="customer_group_id"><?php 
echo plugin_lang_get('group');
?>
</label> <select name="customer_group_id">
	<?php 
foreach (CustomerManagementDao::findAllGroups() as $group) {
    ?>
		<option value="<?php 
    echo $group['id'];
    ?>
"><?php 
    echo $group['name'];
    ?>
</option>
	<?php 
}
?>
	</select> <br />
	<label for="service_id[]"><?php 
echo plugin_lang_get('services');
?>