function getDefaults() { $therecord = parent::getDefaults(); $therecord["addressid"] = 0; $therecord["addressuuid"] = ""; // may not be the best way $therecord["tabledefid"] = ""; $therecord["recordid"] = ""; $therecord["defaultshipto"] = 0; $therecord["primary"] = 0; return $therecord; }