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