You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PrestadorModel.php 320B

2 years ago
123456789101112131415161718
  1. <?php
  2. namespace App\Models;
  3. use CodeIgniter\Model;
  4. class PrestadorModel extends Model
  5. {
  6. protected $table = 'prestador';
  7. protected $primaryKey = 'idprestador';
  8. protected $useTimestamps = false;
  9. function getPrestador($id = null)
  10. {
  11. return $this->where('idprestador', $id)->first();
  12. }
  13. }