initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Description of Pijlers model
|
||||
*
|
||||
* @author Liesbeth
|
||||
* @date april 25 2013
|
||||
*/
|
||||
|
||||
class ModPijlers extends MY_Model{
|
||||
|
||||
protected $tablename = 'tbPijlers';
|
||||
|
||||
function __construct(){
|
||||
parent::__construct();
|
||||
// $models = array('Pijlers_model');
|
||||
// $this->load->model($models);
|
||||
}
|
||||
function get_pijlers($globVersieID){
|
||||
$this->sql="SELECT id ,
|
||||
volgorde,
|
||||
naam
|
||||
FROM tbPijlers
|
||||
WHERE fw_versie=$globVersieID
|
||||
ORDER BY volgorde";
|
||||
return $this->get_query_result();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user