Subversion-Projekte lars-tiefland.ci

Revision

Revision 421 | Revision 519 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

/**
 * @author Lars Tiefland
 * @copyright 2016
 */

class Order_model extends CI_Model
{
        public function __construct()
        {
                parent::__construct();
                $this->load->model('Login_model','login');
                $this->load->model('Bestelladresse_model','bestelladresse');
        }
        
        public function create()
        {
                $GLOBALS['order_db']->trans_start();
                $this->login->create();
                $this->bestelladresse->create();
                $this->create_order_item();
                $GLOBALS['order_db']->trans_complete();
        }
}

?>