initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Description of portfolio model
|
||||
*
|
||||
* @author Liesbeth
|
||||
* @date april 25 2013
|
||||
*/
|
||||
|
||||
class ModPortfolio extends MY_Model{
|
||||
|
||||
protected $tablename = 'tbPortfolio';
|
||||
|
||||
function __construct(){
|
||||
parent::__construct();
|
||||
$models = array();
|
||||
$this->load->model($models);
|
||||
}
|
||||
function get_notes($actid){
|
||||
$this->sql="SELECT id, toonnaam, partactID
|
||||
FROM tbPortfolio
|
||||
WHERE partactID = {$actid}
|
||||
ORDER BY toonnaam";
|
||||
return $this->get_query_result();
|
||||
}
|
||||
} // class definitie
|
||||
Reference in New Issue
Block a user