static function extractForm($form)
 {
     $email = $form->configure->email->value;
     $emailfrom = $form->configure->fromemail->value;
     $owner = $form->configure->owner->value;
     $is_email_admin = $form->configure->email_admin->value;
     $is_users_only = $form->configure->users_only->value;
     $email_template = $form->configure->email_template->value;
     $select_from = $form->configure->select_allow->selected;
     favourites_configuration::setEmailAddress($email);
     favourites_configuration::setEmailAdmin($is_email_admin);
     favourites_configuration::setFromEmailAddress($emailfrom);
     favourites_configuration::setOwner($owner);
     favourites_configuration::setUsersOnly($is_users_only);
     favourites_configuration::setEmailTemplate($email_template);
     favourites_configuration::setSelectAllow($select_from);
 }