Geen omschrijving

KxThree9Record.php 447B

1234567891011121314151617181920212223
  1. <?php
  2. namespace App\Models;
  3. use App\Support\Log;
  4. use Illuminate\Database\Eloquent\Model;
  5. class KxThree9Record extends Model
  6. {
  7. public $timestamps = false;
  8. protected $table = 'kx_three9_record';
  9. protected static $unguarded = true;
  10. public static function setRecord($url, $type)
  11. {
  12. $record = new KxThree9Record();
  13. $record->url = $url;
  14. $record->type = $type;
  15. return $record->save();
  16. }
  17. }