All pastes #509551 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-25 15:01 UTC
rendered paste body
class Shoppingcart extends Controller {

	function Shoppingcart()
	{
		parent::Controller();
		
		if (!$this->session->userdata('cart_items'))
			$this->session->set_userdata(array('cart_items' => array()));
		
		$this->load->model('inventory', '', TRUE);
		$this->load->model('shoppingcartmodel', '', TRUE);
		
	}