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.
25 lines
403 B
25 lines
403 B
<?php |
|
defined('BASEPATH') OR exit('No direct script access allowed'); |
|
|
|
/** |
|
* Regio model |
|
*/ |
|
class Regio_model extends CI_Model |
|
{ |
|
|
|
public function __construct() |
|
{ |
|
parent::__construct(); |
|
} |
|
|
|
public function get_regio_list() |
|
{ |
|
$this->db->select('id, naam'); |
|
$this->db->from('regio'); |
|
$this->db->order_by('naam', 'ASC'); |
|
|
|
$query = $this->db->get(); |
|
|
|
return $query->result_array(); |
|
} |
|
} |