initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Description of Activiteiten x doelgroepen model
|
||||
*
|
||||
* @author Liesbeth
|
||||
* @date april 25 2013
|
||||
*/
|
||||
|
||||
class Modbronnen extends MY_Model{
|
||||
|
||||
protected $tablename = 'tbBronnen';
|
||||
|
||||
function __construct(){
|
||||
parent::__construct();
|
||||
//$models = array();
|
||||
//$this->load->model($models);
|
||||
}
|
||||
function get_bronnen(){
|
||||
$this->sql="SELECT id, naam
|
||||
FROM tbBronnen";
|
||||
return $this->get_query_result();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user