table_name = $this->dbl->prefix . 'arlo_timezones'; } protected function save_entity($item) { $query = $this->dbl->insert( $this->table_name, array( 'id' => $item->TimeZoneID, 'name' => $item->Name, 'windows_tz_id' => $item->WindowsTzID, 'import_id' => $this->import_id ), array( '%d', '%s', '%s' , '%s' ) ); if ($query === false) { throw new \Exception('SQL error: ' . $this->dbl->last_error ); } } }