/**
  * Insert a new Record - static method: insertUserContact()
  *
  *
  * Generated with the DalClassGenerator created by:
  * Zoran Hron <*****@*****.**>
  *
  * @param params = array()
  * @result id
  **/
 public static function insertUserContact($params = array())
 {
     // object self instance
     $instance = new self();
     // required fields names
     $db_fields = array("user_id", "contact_name", "contact_email", "contact_extra", "contact_type");
     // build argument list
     foreach ($db_fields as $param_name) {
         if (!array_key_exists($param_name, $params)) {
             throw new Exception("UserContact::insertUserContact() - Missing parameter {$param_name}.");
         }
         ${$param_name} = $params[$param_name];
     }
     // call dynamic method
     return $instance->insert_UserContact($user_id, $contact_name, $contact_email, $contact_extra, $contact_type);
 }