# CodeIgniter 函数参考 - $this-&gt;cart-&gt;insert();

**URL:** <https://www.isharkfly.com/t/codeigniter-this-gt-cart-gt-insert/4231>\
**Category:** PHP\
**Created:** [January 7, 2014, 3:33am UTC](https://www.isharkfly.com/t/codeigniter-this-gt-cart-gt-insert/4231 "2014-01-07T03:33:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [January 7, 2014, 3:33am UTC](https://www.isharkfly.com/t/codeigniter-this-gt-cart-gt-insert/4231/1 "2014-01-07T03:33:42Z")

</div>

允许你将项目添加到购物车中，就像上面所描述的那样。

文章来源：[http://cwiki.ossez.com/pages/viewpage.action?pageId=2392141](http://cwiki.ossez.com/pages/viewpage.action?pageId=2392141)
