29 lines
571 B
PHP
29 lines
571 B
PHP
<?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();
|
|
}
|
|
|
|
} |