ItemSets are collections of Items (Pages or Assets). They are useful for performing actions on multiple items at the same time. Results from a
Finder are returned as an ItemSet.
| Properties | |
| items | Array of items in the set. |
| Methods | |
| add(item) | Add an item to an ItemSet. |
| expire() | Expire all the items in the set. |
| first() | Returns the first item in the set. |
| get(index) | Return the item at the given position in the set. |
| getLength() | Returns the number of items in the set. |
| lock() | Take a lock on all the items in the set, preventing them from being updated by another user. |
| publish() | Publish all the items in the set. |
| unlock() | Unlock all the items in the set. |