Topics
A collection of index topics.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the Topic.
Topic add( String name, String sortBy, Object withProperties )
Creates a new index topic.
Parameters
Topic item( Mixed index )
Returns the Topic with the specified index or name.
Parameters
Topic itemByName( String name )
Returns the Topic with the specified name.
Parameters
Topic itemByRange( Mixed from, Mixed to )
Returns the Topics within the specified range.
Parameters
Topic firstItem()
Returns the first Topic in the collection.
Topic lastItem()
Returns the last Topic in the collection.
Topic middleItem()
Returns the middle Topic in the collection.
Topic previousItem( Topic obj )
Returns the Topic with the index previous to the specified index.
Parameters
Topic nextItem( Topic obj )
Returns the Topic whose index follows the specified Topic in the collection.
Parameters
Topic anyItem()
Returns any Topic in the collection.
Topic everyItem()
Returns every Topic in the collection.
String toSource()
Generates a string which, if executed, will return the Topic.
Topic []( Number index )
Returns the Topic with the specified index.