26 lines
574 B
PHP
26 lines
574 B
PHP
<?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
|