Read Only Collection (Frontend)

A better implementation of PHP's ArrayObject which works in Smarty, and is read-only. Allows accessing array elements as object properties.

Method Description Returns
isEmpty() Returns true, if container is empty bool
toArray() Array representation of the object array
first() Return the current element mixed
count() Gets the count of elements in current collection int