Revision 1810 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?php/**** @package WebanOS CI* @author Lars Tiefland <ltiefland@gmail.com>* @copyright 2016* @version $Rev: 1809 $*/class Auspraegung_model extends CI_Model{public function __construct(){parent::__construct();}public function get_list(){$sql = "SELECTidFROMauspraegung";$res = $this->db->query($sql);while ($row = $res->unbuffered_row('array')){$row = $this->get($row["id"]);}}private function get($id){$sql = "SELECT*FROMauspraegungWHEREid=".$id."";$res = $this->db->query($sql);$row = $res->unbuffered_row($row);return $row;}}?>