function get_hiddenfields()
 {
     $table = new TikiRegistrationFields();
     return $table->getHiddenFields();
 }
 function get_customfields($user = false)
 {
     $table = new TikiRegistrationFields();
     return $table->getVisibleFields2($user);
 }