initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user