# CodeIgniter 缓存类函数参考 - delete(id\['string'\])

**URL:** <https://www.isharkfly.com/t/codeigniter-delete-id-string/5067>\
**Category:** PHP\
**Created:** [January 5, 2014, 2:33am UTC](https://www.isharkfly.com/t/codeigniter-delete-id-string/5067 "2014-01-05T02:33:07Z")\
**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 5, 2014, 2:33am UTC](https://www.isharkfly.com/t/codeigniter-delete-id-string/5067/1 "2014-01-05T02:33:07Z")

</div>

此函数尝试从缓存系统中删除某个指定的缓存项。

如果删除失败，则返回 FALSE。`$this->cache->clean();`
