Revision 324 | Revision 326 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?php/*** @author Lars Tiefland* @copyright 2016*/class Herstellerkatalog_model extends CI_Model{public function __construct(){parent::__construct();$this->load->model('artikel_model', 'artikel');$this->load->model('alias_model', 'alias');$this->load->model('preise_model', 'preise');}public function list_hersteller($begin=''){$where = array();if ($begin){$where = array("name LIKE '".$begin."%'");}$this->db->order_by('name','ASC');$res = $this->db->get_where('Herstellerkatalog', $where);$rows = $res->result_array();return $rows;}}?>