23 lines
507 B
PHP
23 lines
507 B
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/** Finsubsoorten_model februari 2017 */
|
|
|
|
class Finsubsoorten_model extends MY_Model{
|
|
|
|
|
|
protected $tablename = 'finsubsoorten';
|
|
|
|
function __construct(){
|
|
parent::__construct();
|
|
$models = array('');
|
|
$this->load->model($models);
|
|
}
|
|
|
|
function get_all_subsoorten($soortID){
|
|
$this->sql= "SELECT id, subsoortcat, naam
|
|
FROM finsubsoorten
|
|
WHERE finsoort_id = {$soortID}";
|
|
return $this->get_query_result();
|
|
}
|
|
}
|