ScalarModel
Methods
Method | Type | Description |
---|---|---|
getBookNode() | ScalarNode | Returns the node representing the current book, if it can be found. |
getCurrentPageNode() | ScalarNode | Returns the node representing the current page, if it can be found. |
getMainMenuNode() | ScalarNode | Returns the node representing the current book’s main menu, if it can be found. |
getNodes( [sort] ) | array | Returns an array of all nodes for which data has been loaded, sorted according to the specified criteria (currently the only option is “alphabetical”). |
getNodesWithProperty( property, value, [sort] ) | array | Returns an array of all nodes for which data has been loaded, that match the specified criteria. Method parameters:
|
getPublisherNode() | ScalarNode | Returns the node representing the current book’s publisher, if it can be found. |