Revision 1137 | Revision 1207 | 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: 1144 $*/class Artikel_to_bestellung_model extends CI_Model{public function __construct(){parent::__construct();}public function get($id){$artikel = array();$sql = "SELECT*FROMartikel_to_BestellungWHEREbestellung = ".$id."";$res = $GLOBALS['order_db']->query($sql);while ($row = $res->unbuffered_row('array')){$artikel[] = $row;}return $artikel;}}?>