Updated readme and phpdocs

This commit is contained in:
Rob Gloudemans
2013-05-31 08:05:05 +02:00
parent c0210e033a
commit c0fadee95b
2 changed files with 32 additions and 13 deletions

View File

@@ -158,6 +158,19 @@ Cart::total();
Cart::count(); // Total items
Cart::count(false); // Total rows
```
**Cart::search()**
```php
/**
* Search if the cart has a item
*
* @param Array $search An array with the item ID and optional options
* @return boolean
*/
Cart::search(array('id' => 1, 'options' => array('size' => 'L')));
```
## Collections