Frontend | Backend | Api

Read Only Collection (Api)

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

Property Description Returns
empty 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